2 ms·
That's because React isn't designed for server-rendering. It's able to do it, but if you expect the same performance as as traditional template engines you're g
by andrewingram 10y ago
That's because React isn't designed for server-rendering. It's able to do it, but if you expect the same performance as as traditional template engines you're going to have a bad time.
- flukus 10y agoSo why are people using server side react then? Is it any faster client side, because that would also be very slow?
- mercer 10y agoOne benefit is that you can render server-side and seamlessly take over on the client-side without needing a re-render. Another benefit is simply React's component-based approach itself. I once went as far as using React for wordpress templating just because I prefer its approach to the standard WP <?php echo $blah ?> shit. I wouldn't recommend that to others though.