You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
Desc
server에서 내려주는 html의 내용과 client에서의 내용이 일치하지 않는다는 이슈이다.
Server에서 store를 만들어 내려 줄때, Clinet에서 동기화를 놓쳐서 생기는 이슈이다.
Solve
clinet/store/stores.ts
(clinet에서 store를 만드는 부분) 에 다음과 같은 코드를 추가해주면 된다.server에서
__PRELOADED_STATE__
로 초기 state를 넘겨주었기 때문에 이 값을 이용해서 동기화 시켜주는 작업이다.Ref : redux.js.org/server-rendering
The text was updated successfully, but these errors were encountered: