We use the console-feed library for this component. The console component renders a console-feed, and provides it with a logs prop that is passed to the console component by EditorApp. As EditorApp creates the preview iframe, it is also responsible for hooking into the iframe’s console using console-feed’s Hook method.