Kangkang | 康XX

type-challenge easy + medium solutions

Original link: https://zwkang.com/?p=939 type-challenge Why question? study I have been using ts for three years, and I am trying to learn the system again. After mastering the basic concepts (handbook + changelog), the best way is to practice and deepen the positive feedback on knowledge see this!! type challenge solution This article is reprinted from: […]

type-challenge easy + medium solutions Read More »

Server-side rendering of old notes archives

server-side rendering isomorphism Run the same code on server and client Double-ended routing isomorphism The front-end still continues to use the History or browser mode The server uses staticRouter //客户端<BrowserRouter> <App/> </BrowserRouter> // 服务端<StaticRouter location={req.url} context={context}> <App/> </StaticRouter> Double-ended data isomorphism A static method for prefetching data for components The server finds the component corresponding

Server-side rendering of old notes archives Read More »