codedamn

React Query

Created by Piyush Garg about a year ago

0

No description provided

4 Comments

    1

    Given that this is a part of design patterns - it is important to first explain what problems react-query solves. For example - the above example could be done using useEffect to fetch the data. So why this approach, how does this compare with RTK Query ? Why is React Query your favorite ?

    More deeper coverage expected for the entire state management section.

    In general design patterns are solutions to commonly occurring problems - hence it is important to first explain what the problem is and how a pattern helps to solve that.

    @prasadn

    Prasad Nageshkar

    @prasadn

    0

    Hi @Piyush Garg

    I am confused between useSWR and React Query. Caching is also available in useSWR then what's the difference between them and which is the best?

    @sourav13

    Sourav Yadav

    @sourav13

    0

    sync await needs to practice is there any tutorial in codedamn for it , if yes kindly provide me it's link - thanks

    @ravish64848831

    RAVI SHARMA

    @ravish64848831

    0

    Can you give an example of use case where we can use both react-query and react-redux. Usually it is said to use only 1 state management library at a time. So is it ok to use react-query alongside react-redux or context-api?

    @mahidhar1

    Mahidhar Nyayapati

    @mahidhar1

Your comment