Skip to content
New issue

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

Duplicate className property warnings/errors #49

Closed
bklop opened this issue Oct 26, 2020 · 0 comments · Fixed by #50
Closed

Duplicate className property warnings/errors #49

bklop opened this issue Oct 26, 2020 · 0 comments · Fixed by #50

Comments

@bklop
Copy link
Contributor

bklop commented Oct 26, 2020

I recently upgraded a project that use Feliz.Bulma to Webpack 5 and Fable 3 beta. After the upgrade I get lots of React warnings about duplicate className properties when running in development mode:

Error: Property className is duplicated
    at createObjDebug (Util.js?e456:467)
    at eval (DashBoard.js?807b:500)
    at renderWithHooks (react-dom.development.js?61bb:14985)
    ...

I think this is due to Helpers.combineClasses not filtering out the duplicate className properties (it only combines them into a new classes property).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant