kriasoft / isomorphic-style-loader

CSS style loader for Webpack that is optimized for isomorphic (universal) web apps.
https://reactstarter.com
MIT License
1.27k stars 144 forks source link

fix(withstyles): prop-types were incomplete #199

Closed dazlious closed 3 years ago

dazlious commented 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