프로젝트
GitHub에서 보기
andreiduca/cra-ssr-code-splitting
소개
Demo code for Server Side Rendering and Code Splitting in a create-react-app.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWhat's this?
This is a sample app to demonstrate how you can achieve both Server Side Rendering and Code Splitting in a create-react-app. It supports the mini-series I've wrote on Medium about this topic:
- Upgrading a create-react-app project to a SSR + Code Splitting setup
- Adding state management with Redux in a CRA + SSR project
How can I see it in action?
Just install dependencies, build the app and run the express server:
yarn install
yarn run build
yarn run server
Can I use this as a template for a production app?
NO! This repo exists only to demonstrate how to achieve SSR and Code Splitting at the same time.
But... Why? --- The server app is as slim as it can get. It lacks even the most basic security features like XSS and CSRF.
This is not a boilerplate for a production expressjs server app!!!
관련 프로젝트 살펴보기
불러오는 중…