I made a dummy app with a context that I will want to convert to pub/sub for learning purposes. I added console logs to each component at the beginning. One thing puzzles me. Why does React Profiler show the re-render of a component (DisplayContainer) but the console.log in that component IS NOT displayed in the console?