Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I disagree with the entire premise of the library then, because I consider a shared, global cache to introduce nothing but problems.

I like its query and request primitives, but I don't like that they are coupled to the cache.



It’s purpose in my mind is to model server state, which is fundamentally global state.

Are you using it for transient state? What are you using it for that’s meant to change between different parts of the app?

It kind of sounds like your namespace needs to be broader, are you using a singleton where a collection is needed?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: