Content deleted Content added
Added "citation needed" ("mythical slowness of the browser's DOM engine", "arguably the most fundamental flaw") |
m Dating maintenance tags: {{Citation needed}} |
||
Line 207:
'''Code verbosity.''' In order to perform model-view changes with component states and immutable objects, React require additional lines of code for a task achievable with a single statement in plain javascript. <ref>{{Cite web|title = React-Redux Verbosity|url = https://games.greggman.com/game/react-and-redux-are-a-joke-right/|website = games.greggman|accessdate = 2017-11-15}}</ref><ref>{{Cite web|title = Why is Verbosity Bad|url = https://softwareengineering.stackexchange.com/questions/141175/why-is-verbosity-bad-for-a-programming-language|website = softwareengineering.stackexchange|accessdate = 2017-11-16}}</ref>
'''[[Single source of truth]].''' Due to a mythical slowness of the browser's DOM engine compared with processing a similar (but lighter) tree on JavaScript, React creates, updates and diffs own virtual DOMs (second source of truth for the User Interface), wasting CPU cycles (even when processing separately from the UI thread), arguably the most fundamental flaw. {{Citation needed|date=November 2017}}
==See also==
|