News for hackers. Stuff that matters.
Re:Javascript: call functions without using parentheses by AustinG08 on Wednesday September 19, 2018 @12:20PM (#18025322)
Fair enough. I primarily use it for GraphQL queries. Each of my queries exist in a file queryName.jsx. Those files consist of the following code:

  import gql from 'graphql-tag';
  
  export default gql`
    query Blah($var: VarType!) {
      blah(var: $var) {
        id
        etc
      }
    }
  `;
I like it. Not confusing to me or anyone on my team. To each their own.

There are no comments on this comment yet.