It’s time to admit - we were wrong. State management solutions are great, but unfitting for server-side data. Server-side data needs special care, like async behavior built-in, caching, deduping, re-fetching, prefetching, loading states, error states, pagination, and more. And us - we kept struggling with state management solutions and re-invented the wheel. The good news is that now we have react-query. And even better - we have hooks, so combining server and client state is easier than ever. Let’s explore this new architecture based on react-query, together, and learn how we can benefit from its flexibility and simplicity.
Смотрите видео Migrating from state management to react-query. I’m sorry, what?! - By Adam Klein онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь BeJS 10 Ноябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 260 раз и оно понравилось 5 людям.