What's The Difference Between React App And React Component

- 1 answer

We will be doing our first project using React. It will not be a Single Page App, but a Multiple Page App.

What I'm trying to figure out at the moment is : what's the difference between a component and an app. If I only use components, can I still use Redux to have some state management on the current page ? Or do I need an app for this ?

Thanks for the information you can bring !




There is no special object called "React App". React Components build an "React App" by coming together.

But React Components are formed like tree structure. That means each component have a parent component so you can create a React Component that named "App" and can put another components inside it.

You don't need redux for state management in React Components.

I hope the answers have helped.