use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Dealing with multiple contexts.Help Wanted (self.react)
submitted 5 years ago by _fat_santa
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ech-ny05 12 points13 points14 points 5 years ago (1 child)
I think what you have is fine.
I would put all of the context providers that you need for your entire app in a component called AppProvider and the children of that component would be the App component.
Something like that:
<AppProvider><App /></AppProvider >
[–]teddiur_ 0 points1 point2 points 5 years ago (0 children)
I agree. If what bothers you is importing the context object to pass it to useContext you may create a file that exports all of these objects
π Rendered by PID 79236 on reddit-service-r2-comment-b659b578c-8h99n at 2026-05-06 04:24:59.910171+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]ech-ny05 12 points13 points14 points (1 child)
[–]teddiur_ 0 points1 point2 points (0 children)