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
{{ message }}
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
Not sure if it is what you meant, but in my opinion, it is more correct. But I'm probably wrong here ;) What is the reasoning of the returning component also having props of the wrapped component?
EDIT: No, the proposed solution explodes when used with regular components
Hi, the typings on inject are a bit off.
I have Component with props { foo: string };
Then I will perform mapping:
The problem is that the returning component has props of type
ComponentProps
. so, when I try to use this component:I get error that
foo
parameter is missing. That's obviously incorrect, as the composed component should only receivebar
.The text was updated successfully, but these errors were encountered: