Using reducers in the plugins

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi, is there any examples or documentation about how to use reducers in a plugin? I want to read my plugin settings when I am initializing my plugin and save them as a state to use them in my components instead of reading them from api every time.
I feel even if there is a hook to let us read plugin settings from from strapy.store will be good too.
Thanks