Can I use component as context value like this?

Is this possible?
6 Replies
REEEEE
REEEEE3y ago
You have to do <Ctx.value/> Or use Dynamic
musiclover
musicloverOP3y ago
lIKE THIS ?
REEEEE
REEEEE3y ago
You don't need () =>
musiclover
musicloverOP3y ago
Can I do it like this ?
REEEEE
REEEEE3y ago
Possibly, I've never done it before 🤷‍♂️
lxsmnsyc
lxsmnsyc3y ago
Nope, if it changes that won't remount

Did you find this page helpful?