Blog: history

Blog: history

I mostly write about improvement in my own site. Rarely tutorial and how-tos, but hopefully can be a useful reference.

Posts about history

  • 3 mins reading time

    React Router and Flash State

    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
© 2023 Fatih Kalifa. All rights reserved.