Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpanders
1864 days ago
What, why? It’s just HTML, which PHP and Ruby can generate just fine.
1 comments
deergomoo
1864 days ago
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
link
Otherwise you'd be trying to implement everything once in JS and once in PHP/Ruby