Y
Hacker News
new
|
ask
|
show
|
jobs
by
machty
4304 days ago
The problem with this is that whatever you require() won't close over other variables/imports unless your preprocessor is straight up compiling JSX into JS and inserting into another JS file, which is kinda gross and eval-y.