Assert that updateStyle and updateLayout are only called when it's safe to dispatch...