You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
Current behavior:
Components using redux code do not function correctly anymore using @stencil/redux after upgrading to Stencil One. The store seems to be returning undefined.
Expected behavior:
The store should be defined when initiating with the predefined setStore(store) method.
Steps to reproduce:
Create a store with reducers and initiate the store in a root component.
import{Component,Prop}from"@stencil/core";import{Store}from"@stencil/redux";import{configureStore}from"../../redux/store/index";
@Component({tag: "my-test",shadow: true})exportclassMyTestComponent{
@Prop({context: "store"})store: Store;componentWillLoad(){// Configure store once in this root componentthis.store.setStore(configureStore({}));}render(){return(<div></div>)}}