Posts about history
- •3 mins reading time
Old Technique in a Modern Tech Stack
In early days of web, I use flash state a lot to send message after redirection. It's easy to do it using server side code, because we can use session & cookie. Now that we use SPA everywhere, navigation happen in client-side using browser history API.
If you're using React Router (v4), you might know they have component to do a redirection. So, how do we implement flash state with React Router?Read More