Re:TypeScript is terrible for library developers
by paulnovacovici on Tuesday August 23, 2022 @10:35PM
(#32574347)
What library is this I was looking for a good cache to store network results quite recently?
[ Parent
| on HN ]
Re:TypeScript is terrible for library developers
by hmsimha on Tuesday August 23, 2022 @10:49PM
(#32574420)
It's not open-source or really polished for consumption. I did get permission to open-source it, but unfortunately didn't have the time to improve it to the point where it would be broadly useful.
In fact, now that https://tanstack.com/query/v4/docs/plugins/persistQueryClien... appears to be stable I'm thinking it might even be good to migrate to this (though it appears to require multiple queryclients if you want different cache parameters)