Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created January 13, 2018 14:41
Show Gist options
  • Save Ibro/e9a9f022ef7de9ad7fa8757dda0bf593 to your computer and use it in GitHub Desktop.
Save Ibro/e9a9f022ef7de9ad7fa8757dda0bf593 to your computer and use it in GitHub Desktop.
Using React Router v4 with create-react-app - https://codingblast.com/react-router-create-react-app/
<Link
to={{
pathname: '/logs',
search: '?filter=active',
state: { fromNavBar: true }
}}
>
Logs
</Link>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment