2 ms·React and similar libraries were made to alleviate exactly this problem.by yoz-y 9y agoReact and similar libraries were made to alleviate exactly this problem.