Created
February 2, 2022 00:22
-
-
Save noramens/728e60ffbb667ee06a7ab2bec95cbde7 to your computer and use it in GitHub Desktop.
Add data to Link from react-router-dom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Link to="/blog/detail" state={{ from: "category"}}> Next Step </Link> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment