3 ms·
It's more not wanting to use virtual DOM and only wanting to render to strings for SSR. For example if I use useState or onClick handlers inside the JSX templat
by 65 2y ago
It's more not wanting to use virtual DOM and only wanting to render to strings for SSR. For example if I use useState or onClick handlers inside the JSX template, now I'll have to handle both client and server side code at the same time, which I want to avoid. If I only render a string from my JSX templates, I can separate all client side logic to Alpine. Easier to test and less overhead.