Re:Modern Javascript: Everything you missed over the last 10...
by gpanders on Sunday May 16, 2021 @06:35PM
(#27177689)
What, why? It’s just HTML, which PHP and Ruby can generate just fine.
[ Parent
| on HN ]
Re:Modern Javascript: Everything you missed over the last 10...
by deergomoo on Monday May 17, 2021 @06:08AM
(#27181795)
If your component is generated by something like React you'd need to be running React on the back end to pre-render the component and have the front end re-hydrate it.
Otherwise you'd be trying to implement everything once in JS and once in PHP/Ruby