We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想实现一个regular-css-modules,需要取到组件经过parse后的template AST,对所有class属性内容进行字符串替换。
Component.prototype.afterParseTemplate = (ast) => { // do some changes to ast .... return newast; }
在生成template AST后提供一个生命周期函数
react-css-modules
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Proposal
想实现一个regular-css-modules,需要取到组件经过parse后的template AST,对所有class属性内容进行字符串替换。
Expected API
在生成template AST后提供一个生命周期函数
References
react-css-modules
The text was updated successfully, but these errors were encountered: