我使用reactjs、flux(无第三方实现)和react-router开发了spa。
现在我怎样才能使其同构?用于 SEO 和初始加载时更好的性能。
最佳答案
有很多资源可以帮助做到这一点。我还使用了我的客户端应用程序,并在这些资源的帮助下使其同构......
- React Router Mega Demo
- Isomorphic Webapp React Express Coffee
- Comprehensive Guide to Building Apps with React JS - Part 1
- " " Part 2
- Build A Real-Time Twitter Stream with Node and React.js
- Going Isomorphic React (slideshow)
- Setting Up a Simple Isomorphic React app
- Serverside React Rendering: Isomorphic JavaScript with ReactJS + Node
我很难让我的飞机离开地面,但这绝对是值得的!祝你好运。
关于reactjs - 如何让reactjs/flux/react-router spa同构?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31530836/