4 ms·
Is React a client-side framework, or server-side?
by _RPM 12y ago
Is React a client-side framework, or server-side?
- mikewhy 12y agoboth; either
- baddox 12y agoIt's primarily client-side, but React components output a virtual representation of the DOM, so it's relatively simple to render a page on the server and return HTML.
- evan_ 12y agoGenerally you run the JSX pre-processor server-side and then everything else gets run client-side.
- vertex-four 12y agoIt's a client-side framework. You'll generally run the JSX preprocessor as part of your website's build process (i.e. before uploading it to a server).