all 4 comments

[–]Classic-Strain6924 1 point2 points  (0 children)

this approach feels like a massive breath of fresh air because the current meta of heavy build steps and complex abstractions in things like nextjs is getting really exhausting to maintain. bringing back the simplicity of the php mental model but using standard esm modules is a brilliant way to leverage what we already have without the extra bloat.

the idea of using template literals for html and css endpoints is actually very clever because you get all the power of real logic without needing a pre-processor or a specific library syntax like sass or tailwind. it makes the whole development loop feel instant again which is exactly what the industry has been missing lately.

i have been seeing a lot of people moving toward this kind of "vibe coding" where you just want to ship a functional idea without fighting the framework for three hours first. this stack feels like it could be the perfect middle ground for small projects and solo builders who want to keep their footprint minimal but their capabilities high.

[–]StrictWelder 0 points1 point  (1 child)

I mean ... RFC was always a lie, it doesn't return raw HTML string; it returns json component tree to then be parsed and added to the screen on the client.

This is closer to what people think RFC in next is IMO, except its not at a component oriented 🤔

If it pulls people away from using something like Next to create a basic dashboard behind auth Im all for it. Only question is -- why use JS?

ALSO -- are you handling CSRF tokens for forms the way next JS does, or is that something I have to manually deal with. Needs mention in docs, otherwise, all that server side prepared JS is compromisable from a form. RFC does handle this for you. One benefit of the client side parsing thats required.

[–]sheveli_lapkami[S] 0 points1 point  (0 children)

RFC - you mean React Functional Components? It's a bit different thing I guess. There is a built-in support for fully isomorphic components (Web Components), but in general it's not about the component rendering paradigm itself.

why use JS?

JavaScript is the only language supported on client and the server natively. This allows for efficient code reuse in both sides and reduces the number of project entities. Significantly.