正确设置视图和视图引擎以在前端使用 Reactjs

Setting views and view engine properly to use Reactjs in the frontend

如何正确设置 viewsview engine 以便使用 Reactjs 编写我的前端?

我在 express 中使用 nodejs,我想在前端使用 React 而不是 ejspug。我需要设置什么吗?

我认为你应该研究服务器端渲染和 nextjs

https://nextjs.org/features/server-side-rendering