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
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
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
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.
5
Q
Blob
A
is a Binary Large Object
- Represents binary data like images or vids and can be processed by the browser
- The browser treats the response as raw binary data instead of trying to parse it as JSON or text
6
Q
Binary data
A
raw data and not directly human readable
Characteristics include:
- raw format: represents the actual byes of a file or object
Examples
- images
- vids
- audio
- documents