preactjs / preact-compat

ATTENTION: The React compatibility layer for Preact has moved to the main preact repo.
http://npm.im/preact-compat
MIT License
949 stars 148 forks source link

props.className as an alias of props.class #412

Closed developit closed 7 years ago

developit commented 7 years ago

Instead of trying to normalize, which breaks preact-compat-nested non-compat components, let's install props.className as an alias pointing to props.class.