Hacker News new | past | comments | ask | show | jobs | submit login
Flexible network data preloading in large SPAs (mmazzarolo.com)
2 points by mmazzarolo 6 months ago | hide | past | favorite | 1 comment



(Copy of the comment I posted on the blog) This is a nice pattern. thanks for sharing. Since you mentioned react-query, I want to discuss about a parallel thought process here: about extending react-query usage to facilitate ember-concurrency patterns. I am sure you would have encountered such situations on your projects and I am eager to hear your opinions on this one.

I tried to implement a simple keepLatest using useQueries, but it seems like more boilerplate that what is necessary. do we have any other options for this pattern of scheduling a series of Promises ?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: