DEV Community

Discussion on: The Vanilla Javascript Component Pattern

Collapse
 
megazear7 profile image
megazear7

Correct you would need to do both JS and HTML encoding for security reasons. Ideally using a template library would also alleviate many conerns as well.