If you open up a browser, nothing spectacular will happen, even focusing/unfocusing the field won't make a difference. However, when you change the input value, the children function is continuously being called (as seen by the console.log() being called the whole time). This causes high CPU usage.
Let's say we use the basic example from the documentation, and add a
console.log()
statement, eg.:If you open up a browser, nothing spectacular will happen, even focusing/unfocusing the field won't make a difference. However, when you change the input value, the
children
function is continuously being called (as seen by theconsole.log()
being called the whole time). This causes high CPU usage.Is this intended behaviour?