Svelte. Not famous one but good one…





I guess, many web developers may not heard about Svelte. It is one man show by Rich Harris. 

It is also called as “CYBERNETICALLY ENHANCED WEB APPS”. “CYBERNETICALLY” ? Right, it needs explanation.

Firstly, Let’s me share with you main page of svelte…

https://svelte.dev/

You can realize that Svelte takes the responsibility of lots work. Let’s go over one by one.

Compiler

It has strong compiler. On the other hand, React, Angular and Vue.js are just library so they inject core javascript libraries to your page.

In aspect of Svelte , at the end of the compilation process, pure Javascript bundle is created which can manage full operations on DOM without Virtual DOM need.

Moreover, the build output is optimized and minimized.

Here is the "helloworld" sample for Svelte. Bundle just 3KB!


Easy and Quickly Running

Let’s think about Angular project. You need to deal with many configuration files like routing,component. As for Svelte,  at first you will have just two files "main.js" and "App.stelve" and then go on. 

Here is the following sample project directory. 

(You can download this app from Svelte REPL https://svelte.dev/repl/hello-world?version=3.46.6






Easy implement

Svelte gives opportunity to implement your code easily. There is no complex and boring lifecycle methods or others.  All parts like CSS,HTML and scripts can be implemented without any additional definition.






Svelte is waiting you for discovery!

If you need more... No routing code,single page please refer to "SvelteKit" or "Sapper"...  More easy!  

Have a good work ! 

Yorumlar

Bu blogdaki popüler yayınlar

NODE.JS Örnek Uygulama - TIC TAC TOE -1 (Server)

ORA-00054: resource busy and acquire with NOWAIT specified

Cannot resolve the collation conflict between “Turkish_CI_AS” and “SQL_Latin1_General_CP1_CI_AS” in the equal to operation