DEV Community

Discussion on: One-way data binding in vanilla JS (POC)

Collapse
 
phoinixi profile image
Francesco Esposito • Edited

Thanks Lucas for your comment, if you check out the code and demo (I should maybe include that in the post) you will see that it's more generic :)
return true is necessary, otherwise, you will get an error:

developer.mozilla.org/en-US/docs/W...

Collapse
 
berslucas profile image
Lucas Bersier

Gotcha. Thanks