4 ms·
If I understand it right (which I am by no means sure of), I think you write React code, but it runs on the server, with full DB access etc., and it sends the s
by llimos 6y ago
If I understand it right (which I am by no means sure of), I think you write React code, but it runs on the server, with full DB access etc., and it sends the static HTML to the browser. Kind of like Laravel Livewire[1], but for React.
Ever since I first heard about Livewire a few weeks ago I had in my head "Why doesn't someone do this for React in Node, using ReactDOMServer?" Perhaps now they have (again, if I understood it correctly)
EDIT: Actually on second thoughts, I'm not sure it is like Livewire. I'm not sure Remix handles interactivity in the browser at all. Livewire does, sending back and forth the things that need to change, without you needing to think about it.
[1] https://laravel-livewire.com/ https://laravel-livewire.com/