cerebral / overmind

Overmind - Frictionless state management

Home Page:https://overmindjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] overmind-react bundles its own copy of React

danielnaab opened this issue · comments

The overmind-react package does not directly declaring its dependency on the React package, but via files in package.json. This specifically causes Snowpack builds to fail with a hook error (see https://reactjs.org/warnings/invalid-hook-call-warning.html), because it attempts to bundle two copies of React.