React

which is better to use in React to store data, this.state or Redux

Do you want this data persisted just for your component? Or do you want this data to be accessible by your entire application?

so that they are available to the entire application

Kirupa?

Apologies for the delay! Context is just what you need:

It allows you to share state across your app without needing to pass props between components :grinning:

спасибо