4 ms·
I tried nextjs. I had a route with console.log(request) and some db stuff. I removed the console.log and it broke my build. Because their magic compiler thin
by yoav 3y ago
I tried nextjs.
I had a route with console.log(request) and some db stuff.
I removed the console.log and it broke my build.
Because their magic compiler thinks if you don’t reference the request param then the code should execute at build time. So it tried to query the database from CI.
Insane.
Switched to remix which while still completely asinine and similar in many ways has slightly less magic footgunnery.
Next app will be built with something less dumb tbd.
- qudat 3y agoIf you don’t need SSR/SEO then just use vite.
- nsonha 3y agoexactly how I think about these, article would be more genuine if written by someone less biased toward Remix. They are saying "nextjs is bad" only to recommend something bad in a different way. Unfortunately I have not seen anything better than them for javascript. Of course I am a bit hesitant to venture out of React's comfort zone to try something like Astro, that doesn't help