andreiduca/cra-ssr-code-splitting
حول
Demo code for Server Side Rendering and Code Splitting in a create-react-app.
التصميم والوسائطالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلWhat'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!!!
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…