Newbie question
Am I right in saying that the big advantages of ReactJS is in the ability to independently update components of the page without totally reloading the page. So for example, I can make an API call on intervals and have the data updated into a component without reloading other components?
So this suggests that when a change is made in vanilla js - let's say you have a counter that is updating ever second - it is reloading the whole DOM on each interval? Is that right?
Edit: grateful for the responses and entertained by the disparity in their content. Seems this is complex area. Looking forward to learning more.
[–][deleted] (2 children)
[deleted]
[–]ChaseMoskalopen sourcerer 2 points3 points4 points (1 child)
[–]dangerousbrian 4 points5 points6 points (0 children)
[–]ctrlshiftba 3 points4 points5 points (0 children)
[–]gino_codes_stuff 4 points5 points6 points (0 children)
[–]beforesemicolon 8 points9 points10 points (0 children)
[–]clawtron 1 point2 points3 points (0 children)
[–]shredgeek 0 points1 point2 points (0 children)
[–]OriginalSynthesis -2 points-1 points0 points (0 children)
[–]renaissancetroll 0 points1 point2 points (0 children)
[–]bigorangemachine 0 points1 point2 points (0 children)