Frequently Asked Question

What is the purpose of React Router?

React Router is a collection of navigational components that compose declaratively with your application. Whether you want to have bookmarkable URLs for your web app or a composable way to navigate in React Native, React Router works wherever React is rendering--so take your pick!

How Does Context Api Work ?

Context provides a way to pass data through the component tree without having to pass props down manually at every level.

What is useRef Hook ?

useRef returns a mutable ref object whose .current property is initialized to the passed argument (initialValue). The returned object will persist for the full lifetime of the component.