Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular NGRX - naming the store/app-instance for Redux-Devtools

I am having trouble with Redux-Devtools plugin (for multiple browsers). So many websites use the Redux pattern that my own application often gets unselected. Does anyone know how how to name the store, so the plugin doesnt show 14/ngrx-store-somehash but the name of my app as the selected instance?

like image 463
Phil Avatar asked Jun 26 '26 20:06

Phil


1 Answers

As you can see here it has been added the parameter to configure store name with configuration option and it can be used like this:

StoreDevtoolsModule.instrument({ maxAge: 5, name: "Yout custom store name here" }),

Today in production version (4.1.1) it is not yet available but you can download the git version if you want to use it.

like image 131
danyolgiax Avatar answered Jun 29 '26 15:06

danyolgiax



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!