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
I'm expecting to receive the props from parent component into logData handler. Still, I'm only receiving component props.
Adding withObservable((app, props$) => props$) before withHandlers fixes it.
Is that the expected behaviour? If so, do we have another way using frint-props to access the parent props.
After some research it seems that the handler functions receive 3 params. App, props, parentProps$. parentProps$ has access to data as per the above example. Still, as a developer I expect the compose function will compose into the handlers the component, and parent component props.
The text was updated successfully, but these errors were encountered:
Let's say we have this code
I'm expecting to receive the props from parent component into logData handler. Still, I'm only receiving component props.
Adding withObservable((app, props$) => props$) before withHandlers fixes it.
Is that the expected behaviour? If so, do we have another way using frint-props to access the parent props.
After some research it seems that the handler functions receive 3 params. App, props, parentProps$.
parentProps$ has access to data as per the above example. Still, as a developer I expect the compose function will compose into the handlers the component, and parent component props.
The text was updated successfully, but these errors were encountered: