react-rails-form-helpers icon indicating copy to clipboard operation
react-rails-form-helpers copied to clipboard

React Legacy Context API deprecation.

Open radiantshaw opened this issue 5 years ago • 1 comments

Hello @danott

Great work on this package as this was exactly what we were looking for for our use case. I just have one question. Since this package uses the legacy context API, which React is now working towards removal of in the future major version, are there any plans to convert this to use the new context API instead?

radiantshaw avatar Oct 19 '20 07:10 radiantshaw

Absolutely. Issue #17 is where I first noted the need to modernize to current React idioms. With official plans to remove the legacy context API in the next major version, it sounds like we're transitioning from a quality-of-life change to a necessary-for-survival change.

danott avatar Oct 19 '20 15:10 danott