-
In application with global store inside react context, the fetch apis are normally put inside the global store, but it is not possible to access the store by using hooks, is it possible to have a "context" parameter in the action/loader function signatures? |
Beta Was this translation helpful? Give feedback.
Answered by
geohuz
Feb 15, 2023
Replies: 1 comment 2 replies
-
I found the solution to directly import the store. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
brophdawg11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the solution to directly import the store.