Jason Miller
Jason Miller
Hmm - have you tried this outside Stackblitz? I don't see any aliases defined there, so when `react-redux` or `react-jss` import `react`, they're still getting React proper (not compat). That's...
If you have the time, otherwise it's pretty hard to tell what's going on.
seems like an issue with create-react-class. can you try aliasing that to `preact-compat/lib/create-react-class`?
Sure! That definitely seems like a helpful thing to have around. If you're able to submit a PR for it I'd be happy to review :)
Ah, interesting - we could never figure out what the callback to `render()` was supposed to be for, and I wonder if it just needs to fire in the next...
Hi there @dignifiedquire - are you using Webpack 1, or 2? Something is freezing the exports of `preact-compat`.
I know this isn't the most elegant solution, but can you try adding this alias? ```js { alias: { 'preact-compat': 'preact-compat/dist/preact-compat' } } ``` I think it's something to do...
Ok, that confirms it. Now I just need to figure out if it's Babel or Webpack doing the freezing. Other people will be running into this as libs switch over...
~~@garmjs which version of `preact-compat` was that with?~~ whoop, nevermind was thinking of a different issue. I'm actually not sure what we can do about this since RHL is doing...
For sure - RHL is trying to patch a frozen exports object for some reason. Not sure what the best way to fix this would be, it's just a very...