is Themeprovider a higher order component?
Answered
Chum salmon posted this in #help-forum
Chum salmonOP
import { ThemeProvider as NextThemesProvider } from "next-themes"Answered by B33fb0n3
You can find some examples here: https://legacy.reactjs.org/docs/higher-order-components.html
And as they say:
And as they say:
Higher-order components are not commonly used in modern React code.
6 Replies
Chum salmonOP
im trying to think of an example of a higher order component
@Chum salmon im trying to think of an example of a higher order component
You can find some examples here: https://legacy.reactjs.org/docs/higher-order-components.html
And as they say:
And as they say:
Higher-order components are not commonly used in modern React code.
Answer
@Chum salmon oh so I dont need to know this?
yea, it's not commonly used in modern react code
@B33fb0n3 yea, it's not commonly used in modern react code
Chum salmonOP
thx 🫡
happy to help