Hi ,
I have followed the link - Create Redux store under Widget Communication section of Sample Code. Created a store extension in a custom widget (Widget1) and tried to access the store in another custom widget (Widget2). But I could not access it through 'useSelector'. My requirement is to access the store in a custom module(.tsx) instantiated in a widget (Widget1) which extends the store and also in its widget.tsx file.
My folder structure
your-extensions/
├── widgets/
│ ├── widget1/
│ │ └── store-extensions/
│ │ | └── store-extension.js
| | └── src/runtime/widget.tsx & customModule.tsx
| | └── manifest.json
│ ├── widget2/
| | └── src/runtime/widget.tsx & customModule.tsx
│ │ └── manifest.json