mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Sometimes `onRouteChange()` is triggered before the component’s refs are available, so we have to check for them before setting their state.
Sometimes `onRouteChange()` is triggered before the component’s refs are available, so we have to check for them before setting their state.