Welcome to Quiz Station Blog Page...

Hello, I am Nazmul Sujon

A web developer from Bangladesh, working on Quiz Station especially user exprience & blog page section.

* What are the main perposes of React Router? *

React Router is a standard library for routing in React. It enables the navigation among views of various components in a React Application. React Router is a state container for the current location , or URL. It keeps track of the location and renders different Route's as it changes, and it also gives you tools to update the location using Link and the history API.

* How does Context API work? *

Context is a built-in API introduced in React 16.3 . The React Context API is a way for a React app to effectively produce global variables that can be passed around. This is the alternative to "prop drilling" or moving props from grandparent to child to parent, and so on.Context provides a way to pass data or state through the component tree without having to pass props down manually through each nested component.

* How does useRef() actually work? *

useRef() hook creates references. Calling const reference = useRef(initialValue) with the initial value returns a special object named reference. The reference object has a property current : We can use this property to read the reference value reference. current , or update reference.