You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[error] MyComponent.scala:13:2: could not find implicit value for parameter sr: slinky.core.StateReaderProvider
[error] @react
[error] ^
The text was updated successfully, but these errors were encountered:
taig
changed the title
@react macro fails when using an ADT with backticks as props
@react macro fails when using an ADT with backticks as state
Apr 18, 2021
@taig thanks for the bug report! Do you see the same issue if you use the classic ComponentWrapper style? I ask because the compile error seems to be an issue with state reader/writers, not actually the @react macro.
Yes, indeed. Sorry, I got too inspired by a similar issue here. The actual problem is the implicit materialization of the Provider, i.e. explicitly writing out the ComponentWrapper will have the same issue.
The text was updated successfully, but these errors were encountered: