You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Earlier versions of CL3 used functional components, and we'd manually forward refs through a _ref prop. Then to make things cleaner, we converted all components to class components, so we didn't need to do manual forwarding. https://github.iu.edu/ess-ux/components/issues/135
If we use the new React APIs, we'll have to enforce the dependency change in package.json. Is there any reason why we should hold off making React dependency changes, or do we need to figure out techniques that allow better backwards compatibility? Or, do we just say, if you need it to work with an older version of React, you need an older version of Conduit?
If we want to use (or I suppose even if we don't) the project (https://github.com/mridgway/hoist-non-react-statics) linked by the React article in #2 Connect: copy static methods, then we could do something similar to that library and make an obvious declaration of which versions of React are supported by which versions of Conduit.
anderjak commented on Apr 30, 2018
https://reactjs.org/docs/higher-order-components.html#refs-arent-passed-through
https://reactjs.org/docs/forwarding-refs.html
Seems like this could be good to do with or after any update to React 16.3+ work.
The text was updated successfully, but these errors were encountered: