DEV Community

Mariusz Pilarczyk
Mariusz Pilarczyk

Posted on

react-keep - tiny library helping with vanishing data

I've turned frequently used pattern into tiny library. It's higher order component which conditionally remembers previous values of props and pass them down. Thanks to this you have time to gracefully hide the component or display placeholder with old data in place.

GitHub repo and docs
See examples

example

Top comments (0)