React Flashcards

1
Q

React Router

A

JS framework that manages routing in React apps.

Allows navigating without refreshing the page

  • Handles routing and navigation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

React

A

JS library used to build user interfaces (UI) for websites and apps

  • Has a dedicated framework called Create React App that includes tools for file structuring
  • Doesn’t come in with built in support for routing so need to use react router
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

useNavigate

A

A hook that allows you to programmatically navigate within your app.

It returns a function that you can call to change the current route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

useMatch

A

determines whether a given URL matches a specific route defined in app

  • it returns match data about the route including params if the URL matches.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly