Closed dazlious closed 3 years ago
This enables us to use refs without a warning in dev mode
const ref = useRef(); // ... withStyles(<Component ref={ref} />)
Before only functions were allowed
This enables us to use refs without a warning in dev mode
Before only functions were allowed