reactjs - react-css-modules with decorators not working -


trying decorator syntax working react css modules shown here. https://github.com/gajus/react-css-modules#decorator

i've got react-css-modules working using function syntax, e.g.

cssmodules(table, styles)

but when using decorators, e.g.

@cssmodules(styles)

export default class extends react.component {}

nothing seems instantiated , no errors thrown either. i've got babel-plugin-syntax-decorators loaded.

what missing? thanks!!


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -