r/reactjs • • Oct 01 '20

Needs Help Beginner's Thread / Easy Questions (October 2020)

Previous Beginner's Threads can be found in the wiki.

Ask about React or anything else in its ecosystem :)

Stuck making progress on your app?
Still Ask away! We’re a friendly bunch.

No question is too simple. πŸ™‚


Want Help with your Code?

  1. Improve your chances of reply by

    1. adding minimal example with JSFiddle, CodeSandbox, or Stackblitz links
    2. describing what you want it to do (ask yourself if it's an XY problem)
    3. things you've tried. (Don't just post big blocks of code!)
  2. Formatting Code wiki shows how to format code in this thread.
  3. Pay it forward! Answer questions even if there is already an answer. Other perspectives can be helpful to beginners. Also, there's no quicker way to learn than being wrong on the Internet.

New to React?

Check out the sub's sidebar! πŸ‘‰

πŸ†“ Here are great, free resources!

Any ideas/suggestions to improve this thread - feel free to comment here!

Finally, thank you to all who post questions and those who answer them. We're a growing community and helping each other only strengthens it!


36 Upvotes

321 comments sorted by

View all comments

Show parent comment

1

u/Awnry_Abe Oct 16 '20

I do not, but I use a library that does

1

u/embar5 Oct 16 '20

I just typed "react load state from fetch" but nothing immediately popped up, what libraries do you use for this?

1

u/Awnry_Abe Oct 16 '20

Most of fetching libraries like SWR, react-query, Apollo, etc. store responses in some form of global state and provide some form of observable interface with which to tap into the React engine.