3 ms·
Re-inventing npmjs.com
- detaro 9y agoThat post reads really weird: Isn't hapi purely server-side and React purely frontend, so they can't really have replaced one with the other, but just changed the backend tooling at the same time as they changed the fronted?
- styfle 9y agoNo, react is not purely front-end. You can do server-side rendering (SSR) with react[0]. It can replace a view engine such as ejs or handlebars. The article mentions that the HTTP framework "hapi" was replaced with "spife". So yes, they changed the backend and the frontend at the same time. [0]: github.com/styfle/react-server-example-tsx