News for hackers. Stuff that matters.
Re:Next.js 9.5 by silviogutierrez on Monday July 27, 2020 @09:40PM (#23971424)
Sort of, but not always.

My blog at https://www.silviogutierrez.com is React+Django strictly server side. I like JSX that much. Try loading it with JS disabled.

Same at my business site: https://www.joyapp.com.

It was a huge ordeal getting it setup (with React SSR, etc), but it's definitely doable. I've open sourced it but it sorely needs documentation (incoming):

https://github.com/silviogutierrez/reactivated

Basically, despite the tooling (not because of it), once you get going with JSX, TypeScript and the like, nothing else comes close. At least in my experience.

But again, none of the above stops me from dumping that output into a single cache key per request. It's still dynamic, just cached robustly.

Re:Next.js 9.5 by dopeboy on Monday July 27, 2020 @10:23PM (#23971696)
I'm a fellow django + react developer. What are your thoughts around moving to Next.js?
Re:Next.js 9.5 by silviogutierrez on Tuesday July 28, 2020 @12:19AM (#23972238)
In my opinion: nothing, and I do mean nothing, comes close to the productivity of Django + Forms + FormSets + Admin. I've tried everything under the sun[1]

The model->form and presentation layer is so intuitive and robust that I'm surprised no JS framework has rebuilt it. Too much is focused around REST instead of domain specific inputs / outputs.[2]

So yea, I've focused on making Django more React-friendly. I want to stick to it.

[1] Ok, maybe Rails comes close.

[2] https://news.ycombinator.com/item?id=21875331