The console.count() method can be useful if you'd like to know how many times a component was rendered. Organize the output of an object of array by using the console.group() method. For styling the consolelog yes, but for other cases you can use template literals.

3m read timeFrom dev.to
Post cover image
Table of contents
1. Styling your console.log2. Warning, Errors and Info3. Clear the console4. Grouping things together together5. Keep count of console.logs6. Output arrays or objects as a table7. String Substitution & Template Literals
4 Comments

Sort: