DEV Community

Discussion on: A guide to Vue Lifecycle hooks.

Collapse
 
ekqt profile image
Hector Sosa • Edited

Hi, @miracool ! Great post! The content is great but if I may suggest a couple of pointers?

  1. Use inline code for your hooks. It would like cleaner and it's a bit distracting for the OCD folks out there to see titles in lowercase. i.e. beforeCreate looks better than just "beforeCreate".
  2. Write the programming language that fits best in your code blocks. This allows for syntax highlighting and it's easier for your readers to understand the code snippet.
function printToConsole(value: string){
  console.log(value)
}
Enter fullscreen mode Exit fullscreen mode
  1. Final one, images are always great to engage audience. If you need a tool to help you with your screenshots. I've built a simple OSS for this. Check it out and let me know what you think! github.com/ekqt/screenshot I'd appreciate if you give it a star if you find it useful!

Cheers

Collapse
 
miracool profile image
Makanju Oluwafemi

Thanks for the review, sure will improve in my next post.