You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
I have a route for the product page called '/product/:productHash'. I also have a component on that page that is nested a few levels inside the main. Is there a hook that could access that param inside the nested component without passing it all the way down? I tried usePath, but that gives me the whole path.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a route for the product page called
'/product/:productHash'
. I also have a component on that page that is nested a few levels inside the main. Is there a hook that could access that param inside the nested component without passing it all the way down? I triedusePath
, but that gives me the whole path.The text was updated successfully, but these errors were encountered: