Redux in Grafana plugin

How can i using redux in my plugin? i want create a new state,i’m trying to wrap root Component with but it not work

Hi @thanhthu2 you can use redux in your plugin the same you can use it in any other react application.

i’m trying to wrap root Component

Can you show some code of what you are trying to do?

What type of plugin are you building? Generally speaking it is unlikely a non complex app grafana plugin will need to use redux at all, since most of the state comes from props passed to the plugin components and there’s little need for the plugins to hold a state.