For further actions, you may consider blocking this person and/or reporting abuse
Read next
Waterfall Model: Simple Breakdown
Santosh Shelar -
Boost Your Productivity with awscurl: Simplifying IAM-Secured API Testing in AWS
Joris Conijn -
Embedding vs. Referencing - A Strategic Choice!
Piyush Chauhan -
New ML Compiler Uses Pattern Matching to Speed Up AI Code, Verified with Formal Proofs
Mike Young -
Top comments (5)
Svelte is a JavaScript framework.
A framework is just a bunch of code someone else has written to make life easier for other developers.
Unlike a library, which focuses on a narrow specific problem (like formatting text, making HTTP requests, transforming images), a framework organizes lots of libraries together to solve a more general and larger-scale problem. For example, making a web application or a game.
Frameworks usually provide a project folder structure, a predefined entry point, naming conventions, and hooks for you code to fit in. So, you call a library, but the framework calls you (your code, that is).
Like React, Vue and Angular, Svelte makes it easy to develop web applications which work with dynamic content and react to changes in the underlying data.
One thing that makes Svelte different is that it is basically a compiler. It takes all your code and all the framework code and converts it to vanilla JavaScript. That way the framework itself doesn't have to be shipped to the browser to call your code - it already determined the necessary parts at compile time. This makes the file size much smaller compared to React, Vue and Angular.
A lot of developers love Svelte for its simplicity, myself included, so it would be a great first framework to learn. Especially for a 5-year-old.
Thank you for your detailed answer.
I'll def try to learn it next.
Glad to help.
Have fun with Svelte!
Svelte is a tool for creating lightweight web applications.
A thin, pretty woman. Ok, not helpful, but I couldn't resist. ;P