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
This is because the React::RenderingContext.remove_nodes_from_args method is called at the beginning of React::RenderingContext.render. Instead we should do this processing when args are PASSED, and during the check do the .to_n processing if the component is native.
The text was updated successfully, but these errors were encountered:
currently if you do this:
It works fine: I.e the tip Element is automatically removed from the rendering buffer when it is passed to MyComponent.
But if you change MyComponent to a native component, you have to remember to remove the node, and convert it to a native JS object.
This is because the React::RenderingContext.remove_nodes_from_args method is called at the beginning of React::RenderingContext.render. Instead we should do this processing when args are PASSED, and during the check do the .to_n processing if the component is native.
The text was updated successfully, but these errors were encountered: