salesforce / lwc

⚡️ LWC - A Blazing Fast, Enterprise-Grade Web Components Foundation
https://lwc.dev
Other
1.62k stars 394 forks source link

Redux DevTools extension with LWC #3010

Open fenixjke opened 2 years ago

fenixjke commented 2 years ago

I'm creating an application with using Redux state manager and I would like to use Redux DevTools chrome extension for logging and debugging purposes during development. However, it doesn't seem that the extension can detect a store created from lightning web component (due to secure wrappers??) Does anybody know if it's possible to make Redux DevTools work with stores created from LWC?

nolanlawson commented 2 years ago

Hi, thanks for reaching out. I don't believe this is an issue in LWC itself, but yes, it is probably due to either 1) the Proxy wrappers used by observable-membrane, or 2) Locker/Lightning Web Security wrappers.

Since this isn't directly related to LWC, this may be a good question for the Salesforce StackExchange.