react-broadcast icon indicating copy to clipboard operation
react-broadcast copied to clipboard

Is it worth to mark library as deprecated?

Open desfero opened this issue 7 years ago • 2 comments

Context API was finally stabilized in React 16.3 and is based on react-broadcast.

Therefore, it's worth to mark this as deprecate or at least state clearly in docs that React Context API provide the same interface.

What do you think? Is there any reason not to deprecate 'react-broadcast'?

desfero avatar Jun 24 '18 21:06 desfero

Only reason would be documentation which I don't see any of, so why would you need this if the React team has officially made context a first-class feature? Seems like it would only add confusion! (apparently I can't English today...)

abhinayar avatar Jun 25 '18 17:06 abhinayar

I think it's worth it to state somewhere that people who are using 16.3 shouldn't have to rely on react-broadcast, and that it's just a polyfill. But people who can't upgrade to 16.3 yet will still find it useful, so "deprecated" is the wrong word.

mjackson avatar Jun 28 '18 21:06 mjackson