Replying to Avatar hzrd149

There is nothing I hate more in JavaScript than frameworks that will not let you turn off their stupid SSR compiling

https://cdn.hzrd149.com/b7d9739a0068d8ae75695e019ec9c7c96d02a0e6dcfdd3aa2f4bce1c46f36738.webp

Vibe coded that whole app then tried to compile with ssr=false and its still trying to run the code in node so it can do some ssr crap. why cant we just have simple static apps anymore?

Because frameworks. Ditch the frameworks.

Reply to this note

Please Login to reply.

Discussion

easier said than done. there is only so much you can do with vanilla JS and almost all AI models only know how to work with popular frameworks. so getting them to build custom vanilla JS is fighting the current

There's a lot you can do with vanilla Js. Keeping it organized is the hard part. But that's why I use go and just use js for web stuff. This presents it's own challenges of course 😂

The main reason I cant use vanilla JS is that having the rendered HTML written and defined in the same file as the components logic is so much better than the vanilla (jquery style) of working with the DOM. because your writing logic in one file for the markdown that's defined in another...

There are decent frameworks like https://lit.dev but it still doesn't provide all the benefits you get from JSX or svelte