Storybook is a development environment and playground for UI components. It allows you to create components in isolation, mock hard-to-reach use cases, and document components for your team.
Creating component from both ends(Front & back) → running app → authentication → finally reviewing that new feature
What you actually needed : reviewing that new feature

Storybook doesn't automatically create stories for each component—you need to manually write stories for the components you want to document.
However, once you've written these stories, Storybook generates the visual interface, showing all the components and their various states. It becomes a living documentation because as you update or add components, the stories and corresponding UI examples reflect those changes, making it easier to maintain consistent and up-to-date documentation.
It will be very less useful in case we have very specific components that is when components do not have much variations ,in that case only it’s documentation will be useful.

To set up Storybook in your React project:
Create a new React project.
Install Storybook using npx : npx storybook init
Once you have written this command in terminal two new folders will be added in your project directory :
.stories (in your project folder) & stories (inside projectFolder/src)


Storybookdemo/src/Stories folder(containing some demo stories)
You can delete these demo stories and create you own inside your components folder.
npm run storybook(If not getting steps ,please have a look at official docs : https://storybook.js.org/docs)
Once you execute this command npm run storybook in terminal, you will be redirected to a interface where you can view the stories of your component and play with it’s configurations.