byte-fe / react-model

The next generation state management library for React
236 stars 23 forks source link

Provider and connect enhancement #56

Closed ArrayZoneYour closed 5 years ago

ArrayZoneYour commented 5 years ago

In order to use Hooks in RN, you need to upgrade to v0.59.x or build react with --type=RN_OSS manually and replace the old Render in node_modules ...

These are difficult for the most react-native user. It may need much time and make developer hard to use and migrate by using the api(Provider, connect) now.

Consider to provider more powerful api (connect, Provider) for class components.

The plan contains:

ArrayZoneYour commented 5 years ago

close #60