I saw @dan_abramov do it
-
-
-
the answer to all things JavaScript
- 1 more reply
New conversation -
-
-
minifies well? And linters I think
-
minifiers should outline it and gzip makes it moot
- 3 more replies
New conversation -
-
-
a lot of time it's just used for events or types and the string value is always the same as the variable name so seems weird
-
const MY_CONST = 'app/page/MY_CONST' to avoid naming collisions and misspellings.
- 3 more replies
New conversation -
-
-
linter will tell you when you misspel it somewhere in that file. That's how I use it, at least
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
compiler check + intellisense
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
catching typos statically; although this can be also addressed by using a type system
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
tractability and intention. I can confidently find and replace a constant imported across app, not so much a string.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 