We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The combination of useRef and renderWithReuse tends not to work as it requires a Reusability for the Ref but it doesn't seem to be defined in general
useRef
renderWithReuse
Reusability
Ref
It gets fairly more complicated with useRefToScalaComponent and siblings
useRefToScalaComponent
Could the Reusability instances be provided? I guess they should be always reused, right?
The text was updated successfully, but these errors were encountered:
Thanks, I tested it with a local build I wonder if it is possible for useRefToScala/JSComponent too
useRefToScala/JSComponent
Sorry, something went wrong.
I can make it work with this but i'm not sure if it is correct:
implicit def refScalaComponentRef[F[_], P, S, B, CT[-p, +u] <: CtorType[p, u]] : Reusability[Ref.WithScalaComponentF[F, P, S, B, CT]] = byRef
Successfully merging a pull request may close this issue.
The combination of
useRef
andrenderWithReuse
tends not to work as it requires aReusability
for theRef
but it doesn't seem to be defined in generalIt gets fairly more complicated with
useRefToScalaComponent
and siblingsCould the
Reusability
instances be provided? I guess they should be always reused, right?The text was updated successfully, but these errors were encountered: