Skip to content

Conversation

@trusktr
Copy link

@trusktr trusktr commented Aug 27, 2015

I thin this is better because it does cleanup inside the parent node as well.

It might be better to call removeChild on the parent since that does some cleanup in the parent, and it also calls dismount of the child. What do you think?
…de onto some other node in a custom class that extends react-famonus Node.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pilwon This throws if the node has no parent. Maybe we should check if the node has a parent first?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pilwon By the way, I've ben using react-famous on two projects. It's really nice (except for all the bugs in Famous itself right now)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant