3 ms·
Hey, if it works, no problems here. Personally, I've found it really helpful to be able to think of and test queries as pure functions (without side effects re
by sritchie 15y ago
Hey, if it works, no problems here.
Personally, I've found it really helpful to be able to think of and test queries as pure functions (without side effects related to data storage). Composable, pure queries keep our code base really small, and allow us to code and test features in hours.
I end up writing and testing a lot of queries that I never use in production, but it's this play that allows the good stuff to bubble up.