When I make a change in my React app, it renders and shows my console.log(), but the previous console.logs() are not cleared automatically. This can be confusing. The app has been refreshed, but the console has not been cleared.
How do I change setting to clear previous console.log() each time, before it is rendered? I want to see only last console.log() in browser console. This should be done by React itself and not me manually.