Comments (2)
사실, 지금 결과 페이지 구성은 아주 엉망이다. 결과페이지에서 이어지는 다른 페이지로의 이동을 빠르게 하기 위해 모든 페이지를 한 번에 로딩한다. 그 때, SSG도 모르고, 효율적인 코드가 무엇인지도 몰라 이렇게 코드를 짰었다.
from client-ver2.0.
현재, result페이지에서 공유하기에 관한 데이터, 상세보기에 대한 데이터를 서버로부터 한 번에 모두 전송받고 있다. 백엔드 개발자가 손을 놓은 상태라 api를 수정하기는 불가능한 상태. 결과 페이지에서 받은 데이터를 또 다시 서버에 요청에서 받을 필요는 없고, 전역으로 상태를 관리하면 될 듯하다.
그런데 새로고침하면? recoil로 전역상태로 관리하면 새로고침하게 되면 제거가될 것이다. 그렇다고 localStorage에 저장하는게 바람직한 방법은 아닌 듯하다.
from client-ver2.0.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-ver2.0.