2 ms·
My biggest gripe with Require is having to wrap every single node.js library you want to use client side in boilerplate. It's obnoxious for all kinds of reason
by Glyptodon 14y ago
My biggest gripe with Require is having to wrap every single node.js library you want to use client side in boilerplate.
It's obnoxious for all kinds of reasons.
That said, I have yet to run across a solution that I actually like a whole lot for helping to make server and client side JS cooperate.
- niggler 14y agoWhat I ended up doing is writing a fake 'require' that replicates the nodejs require semantics (e.g. http://hastebin.com/nipaburipe.js http://hastebin.com/nipaburipe.js)