Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
Hi, in my JS project I have to update a variable value that is getting a text input's value in order to use it dynamically with different functions across my program. What would be the best approach to doing this?
Should I make a function that updates the variable for every character typed or should I simply get the value when the function is called?
Thanks!
question
performance
dry
javascript