DEV Community

Discussion on: βœ”||🀒 Commit or Vomit | code style

Collapse
 
theowlsden profile image
Shaquil Maria

Coming from Angular, honestly, I'd use brackets to pass data no matter what. This will allow you to pass a variable assigned in your TS file and remove static strings inside of your HTML. (I don't know if this makes sense to you). Otherwise, I agree with @faraazahmad .

Thread Thread
 
jmdejager profile image
🐀πŸ₯‡ Jasper de Jager

Yes forgot to tell, it's an angular example 😊