Content deleted Content added
→Features: add a little bit of info on Svelte, but more work should definitely be done |
Citation bot (talk | contribs) Altered title. Add: website, publisher, date, authors 1-3. Removed parameters. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Software comparisons | #UCB_Category 60/101 |
||
Line 167:
== High-Level Framework Comparison ==
JavaScript-based web application frameworks, such as React and Vue, provide extensive capabilities but come with associated trade-offs. These frameworks often extend or enhance features available through native web technologies, such as routing, component-based development, and state management. While native web standards, including Web Components, modern JavaScript APIs like Fetch and ES Modules, and browser capabilities like Shadow DOM, have advanced significantly, frameworks remain widely used for their ability to enhance developer productivity, offer structured patterns for large-scale applications, simplify handling edge cases, and provide tools for performance optimization. <ref name=":02">{{Cite book |title=JavaScript Frameworks for Modern Web Development: The Essential Frameworks, Libraries, and Tools to Learn Right Now |isbn=978-1484249949 |last1=Uzayr |first1=Sufyan bin |last2=Cloud |first2=Nicholas |last3=Ambler |first3=Tim |date=November 2019 |publisher=Apress }}</ref><ref name=":12">{{Cite book |title=Building Native Web Components: Front-End Development with Polymer and Vue.js |isbn=978-1484259047 |last1=Rojas |first1=Carlos |date=13 November 2020 |publisher=Apress }}</ref><ref name=":22">{{Cite book |title=Hands-On JavaScript High Performance: Build faster web apps using Node.js, Svelte.js, and WebAssembly |isbn=978-1838821098 |last1=Scherer |first1=Justin |date=28 February 2020 |publisher=Packt Publishing, Limited }}</ref>
Frameworks can introduce abstraction layers that may contribute to performance overhead, larger bundle sizes, and increased complexity. Modern frameworks, such as React 18 and Vue 3, address these challenges with features like concurrent rendering, tree-shaking, and selective hydration. While these advancements improve rendering efficiency and resource management, their benefits depend on the specific application and implementation context. Lightweight frameworks, such as Svelte and Preact, take different architectural approaches, with Svelte eliminating the virtual DOM entirely in favor of compiling components to efficient JavaScript code, and Preact offering a minimal, compatible alternative to React. Framework choice depends on an application’s requirements, including the team’s expertise, performance goals, and development priorities. <ref name=":02" /><ref name=":12" /><ref name=":22" />
A newer category of web frameworks, including enhance.dev, Astro, and Fresh, leverages native web standards while minimizing abstractions and development tooling. <ref>{{Cite web |title=Enhance |website=[[GitHub]] |url=https://github.com/enhance-dev
== Features ==
Line 720:
|<!-- React -->
|<!-- SproutCore --> {{yes}}
|<!-- Svelte --> {{yes}}<ref>{{cite web|url=https://svelte.dev/docs/svelte/compiler-warnings#a11y_accesskey|title=Compiler Warnings •
|<!-- Vue -->
|<!-- ZK --> {{yes}}
|