It's not really gonna cause any bugs but it's a bit confusing/weird when first reading the code. Your entire application is rendered from inside a component called Header. (I blame the GitHub workshop on Tuesday)
Since this component manages all the state and rendering for the whole app, it should probs be the App component. (since all App currently does is render Header)
It's not really gonna cause any bugs but it's a bit confusing/weird when first reading the code. Your entire application is rendered from inside a component called
Header. (I blame the GitHub workshop on Tuesday)Since this component manages all the state and rendering for the whole app, it should probs be the App component. (since all App currently does is render Header)