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
The text was updated successfully, but these errors were encountered:
kdong007
changed the title
how do you update state from a Android Fragment/View parent? like React's useimperativehandle
how do you update state from a Android Fragment/View parent? like React's useImperativeHandle
Aug 4, 2022
Version
Add the version of the litho packages you use. You can paste the dependency
section of the gradle file if you have one.
litho 0.39.0
kotlin 1.3.72
Issues and Steps to Reproduce
Replace this with steps to repro your issue.
Assume I have component with state
Then i used it in some fragment/view
Then how do I update state/prop of MyComponent from parent?
Which is equivalent to React's useimperativehandle
https://reactjs.org/docs/hooks-reference.html#useimperativehandle
https://dev.to/collegewap/how-to-call-the-child-component-function-from-the-parent-component-in-react-3559
The text was updated successfully, but these errors were encountered: