Closed pmartin-cogility closed 3 months ago
Normally this change takes care of that, do you have some override yourself to manage this or is TypeScript not recognising the import?
Perhaps the issue is that "this change" for @preact/signals-react
hasn't been published yet?
😅 you are 100% correct, apologies
Thank you for the amazing libraries!
Environment
@preact/signals-core
@preact/signals
@preact/signals-react
Describe the bug Since the update to
@preact/signals-core
to1.8.0
, I get the following error:Type 'ReadonlySignal' is not assignable to type 'ReactNode'.
when using a signal as so...Forcing a downgrade to
@preact/signals-core
to1.7.0
fixes the issue.