4 ms·
Please, do not build more JS frameworks (see-no-evil emoji).
by stanislavb 3y ago
Please, do not build more JS frameworks (see-no-evil emoji).
- gumballindie 3y agoCoincidence or not but since the tech winter started there are fewer js modules and frameworks released. As it should be. Hope react manages to somehow die in the process.
- breadwinner 3y agoYou mean, you want React to continue for the rest of human history? Hope not!
- grey-area 3y agoOr maybe we could just ditch react and everything like it? Not everyone uses it now, and many large websites are built in simpler ways despite not using ‘modern JavaScript’. Is all this pain and complexity really worth the gain? In practice it often leads to a slower experience for users due to the massive globs of js.
- mosselman 3y agoHave a look at this video in Rails’ Turbo 8: https://m.youtube.com/watch?v=hKKycPLN-sk https://m.youtube.com/watch?v=hKKycPLN-sk In a nutshell: we had a 7 year old server side rendered page on our site that shows a chat between two users that was more like email. So you have to refresh to see new messages. We added 2 lines of code to the HTML(!!) and now the page is fully multiplayer so messages come in directly when the other user sends one and you see other things update as they are changed in the database, etc. 2 lines of fucking HTML. Sure turbo is built in JavaScript, but I have to spend zero time writing any and I get all the benefits in a 7 year old server side rendered page.
- eddd-ddde 3y agoRecently I just wrote a basic tutorial on building a real time chat web application using htmx: https://dev.to/viiik/making-a-real-time-chatroom-app-with-cloudflare-workers-2cp4 https://dev.to/viiik/making-a-real-time-chatroom-app-with-cl... Minimal html, like just a couple of lines including regular html boilerplate. The amazing thing of libraries like turbo or htmx is the client complexity does not increase with feature complexity.
- quickthrower2 3y agoJust long enough and without a hooks style revolution so I can cruise for a bit. Build some stuff without keeping up. Like a carpenter. Tell the LLM people to slow it down too.
- slmjkdbtl 3y agoIt's more about learning how current frameworks works, and the best way is to learn to build one
- whostolemyhat 3y agoWhy not?