DEV Community

loading...

Discussion on: RunCSS, A Runtime Version of TailwindCSS and Beyond

Collapse
mudgen profile image
Nick Mudge Author

Hey, there. Preact should have a function that gets called on every element. For example React has the function React.createElement that gets called by JSX. Replace that function with your own function that calls that function and also calls processClasses on class attributes.

Forem Open with the Forem app