분류
javascript
Redux App을 위한 원스톱 솔루션!
본문
https://github.com/reactGo/reactGo
Redux 예측 상태 컨테이너.
보편적인 렌더링
서버측 렌더링시 비동기 데이터 가져 오기
Express app.use() receives a request
-> Calls a pre-built webpack file for the server
-> Runs matching of routes in react-router for server
-> Makes async data fetching request
-> Renders Route component to string
-> Construct HTML file (with Meta, Link tags using helmet)
-> Browser receives html file with initial state
-> Client side React.JS kicks in and initializes with given state
-> Continues where it left off
-> Everyone is happy :)
- 이전글HTML5 Canvas JavaScript 프레임 워크 19.04.11
- 다음글슬라이딩 menu을 만들기 위한 자바 스크립트 플러그인 19.04.11