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
all of the examples are implemented using react class components and its hard to migrate theme to functional components.
for example Controlled elements Re-Flex example using ReactDOM.findDOMNode(this) which is deprecated and not usefull in the functional component.
also i cant find a way to translate the snippet below to useState hook. since useState is not sync anymore.
this.setState({
size
},()=>resolve())
The text was updated successfully, but these errors were encountered:
this is more general React class to FC migration question rather than specific to that lib. I don't have time to rewrite the examples at the moment unfortunately.
all of the examples are implemented using react class components and its hard to migrate theme to functional components.
for example
Controlled elements Re-Flex example
usingReactDOM.findDOMNode(this)
which is deprecated and not usefull in the functional component.also i cant find a way to translate the snippet below to
useState
hook. sinceuseState
is not sync anymore.The text was updated successfully, but these errors were encountered: