Join Slack
Powered by
when using react-router-dom useNavigate hook how d...
# javascript
k
Kristian Nedrevold
10/09/2022, 8:21 PM
when using react-router-dom useNavigate hook how do you pass data through the navigate invokation to the next component?
t
turansky
10/09/2022, 10:48 PM
You can use
options.state
https://reactrouter.com/en/main/hooks/use-navigate#type-declaration
15
Views
Open in Slack
Previous
Next