Jason Miller
Jason Miller
Thanks for the bug report! It looks like we must have merged an upstream react-redux change that broke this. Here's a reproduction on CodeSandbox: https://codesandbox.io/s/preact-redux-47-2kkon
For those running into this issue: using the official `react-redux` bindings v5.1.0 (specifically) via `preact-compat` works fine with Preact 8.x. For Preact X, any version of the official bindings should...
Looks like it's because we're inlining PropTypes and possibly another dependency (which seems like an error!)
I spent a good long time looking into this yesterday, and it's a result of changes in `react-redux`, which we upstream (and compile to modify). I haven't had much success...
Hiya, sorry for dropping the ball on this. I'll try to dig up the branch I was working on.
Apologies! I'm not a redux or TypeScript user so I haven't been bitten by these issues yet. I'll take a look at the PR.
I've merged the various PR's for type changes. Would you be able to test against master and see if the issues are fixed @greengiraffe @4lph4-Ph4un or @pmkroeker? Cheers.
Not likely a feature we'd build into Portal, but into a modal lib that uses it. Portal is used for more than modals - I use it to render meta...
Here's what I think the API could look like: ```js function reduce(state, action) { switch (action.type) { case '@@INIT': return { count: 0 } case 'ADD': return { count: state.count+1...