Skip to content
Discussion options

You must be logged in to vote

Hi @voyDk, v9 does not have any class components. If you really have a use for class components in your application, you can use @griffel/core instead of @griffel/react, which provides similar benefits and API but is not tied to React paradigms, so it does not return a hook, just a regular function. We do not generally recommend this approach, however, so make sure you really need this if you are going to use @griffel/core instead of @griffel/react.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by voyDk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants