Previously, one of these happened in React's post-state-update callback, while the other happened directly. They now both use the callback.
Previously, one of these happened in React's post-state-update callback, while the other happened directly. They now both use the callback.