News for hackers. Stuff that matters.
Re:Next.js 11 by BoumTAC on Tuesday June 15, 2021 @02:39PM (#27519669)
isn't that what happened with every js framework ?

99% of all js project would have been better with an old school framework (Rails/Symfony/Django/laravel, and any other framework I forgot the name)

Re:Next.js 11 by jstummbillig on Tuesday June 15, 2021 @02:52PM (#27519840)
Next excels in frontend grease, a place where the ssr frameworks do not venture.

I so agree that next is not the ultimate answer. Still waiting for the absolute best of both worlds.

Re:Next.js 11 by CraigJPerry on Tuesday June 15, 2021 @04:28PM (#27521077)
Maybe something like Phoenix liveview? (or htmx / livewire / hotwire/ etc.)

Write SSR, but have the ability to render partials and swap html chunks into the DOM directly rather than running json through a CSR library.

You still get client originated events (user clicks a button) or server originated events, e.g. server wants to proactively push a change - at least for liveview and htmx.

Re:Next.js 11 by aabbcc1241 on Thursday June 17, 2021 @11:08AM (#27540392)
Phoenix Liveview shows great idea, but I prefer to develop in typed environment so I'm working on ts-liveview (TSX+SSR+live-update)