Closed higimo closed 5 years ago
Are you importing and/or creating the Redux store in the store
variable correctly? I see you passing it as a prop to <Provider>
but it doesn't appear on the file you mentioned...and if it's undefined
then obviously that error will occur because store
isn't initialized by preact-redux nor redux automatically.
Like it's mentioned on the README, it's suggested that you check Usage with React on Redux's docs to understand definitely what's needed to make use of this package.
this my mistake, version redux, preactm and other incompatible.=(