americanexpress / react-albus

✨ React component library for building declarative multi-step flows.
Apache License 2.0
1.1k stars 89 forks source link

Anybody getting this Legacy Context API warning in Wizard ? #65

Closed uraees closed 4 years ago

uraees commented 4 years ago

Warning: Legacy context API has been detected within a strict-mode tree.

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.

Please update the following components: Steps, Wizard

Learn more about this warning here: https://fb.me/react-legacy-context in Wizard (at XXXXXXX.jsx:70) in form (created by Form) ..... in App (at src/index.js:34) in StrictMode (at src/index.js:10)

ghost commented 4 years ago

This project is still using the Component.contextTypes API. We should give this some love and look at using hooks in the next major release.

ghost commented 4 years ago

Closing in favor of #38