coopermaruyama/react-web3

Relies on legacy React context API

Opened this issue · 1 comments

This package relies on the legacy React context API. Is there a plan to upgrade this?

If not, or for users who would like to take advantage of the new context API/React hooks, I've created a similar package, web3-react, which uses the latest API as well as React hooks (and was inspired by this package!).

Yeah, I'll leave this issue open to use the new context API.

Regarding hooks, they are still experimental and not yet recommended for production use AFAIK. Will probably add them when they ship in a more stable release.