Update component refs in a more sensible place
Use instance property instead of state
Store routes/namedRoutes as instance properties instead of state
Store scroll behavior as instance property instead of state
Refactor computeNextState