noflo / noflo-react

Facebook React components for NoFlo
MIT License
20 stars 4 forks source link

Refactored SetProps to handle unmounted components. #1

Closed JohnRandom closed 10 years ago

JohnRandom commented 10 years ago

The standalone version of SetProps must be able to decide skipping to update a component, if it is already unmounted or React will throw an error.

The current implementation basically handles not mounted components, as if they don't exist. Props send to the noflo component will thus be stored and applied to the next component arriving.