Legacy context API is getting deprecated in "Strict Mode": https://reactjs.org/blog/2018/10/23/react-v-16-6.html#deprecations-in-strictmode