Isn't that what reactive ui trying to achieve? To only have a render function and have ui state sync according to the data?