Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
8note
· 1y ago · 0 comments
well that's some scary typescript syntax. i didnt know a string constant at the top of a function could change the operation.
or is this some extra compilation step to rewrite the code?
Comments
[–]
art0rz
1y ago
"use strict" has been around since 2009. That being said, this is not a TypeScript or React feature but yet another black box magic NextJS feature to try to lock you into the Vercel ecosystem.
[–]
koolba
1y ago
Must be some compile step. Reminds me of “use strict”.