last highlighted date: 2024-12-31
Highlights
- Svelte is one of the new approaches to build and test new frameworks. Traditional frameworks like React and Vue do their work in the browser while Svelte shifts that work into a compile step that happens when you build your app.
- Note: svelte
- Advantages# • Svelte writes code that surgically updates the DOM when the state of the app changes. • Web apps are fast in rendering components, compared to native react apps. • Directly interacts with HTML-CSS components. • Svelte converts your app into ideal JavaScript at build time, rather than interpreting your application code at run time. Hence, performance is much better. • Inherits features like state,props in react.
- Prerequisite knowledge on ReactJs is needed for efficient app building.
- Passing data between pages is difficult.
- Note: hugo disadvantage
- Supports built in themes Lots of themes are available in Hugo. No built in theme support.Npm supports react styled components only.
- Note: hugo left, svelte right
- Debugging Debugging is not easy Not easy in svelte. Errors are left undetected.