sveltejs vs. sfcjs

否子戈
English

Sveltejs is a js framework based on compiling, sfcjs is a js component runtime in browser with svelte style syntax. This article will compare their syntax.

"hello world"

Alt Text

Dynamic attributes

Alt Text

styling

Alt Text

Nested component

Alt Text

Reactive assignments

Alt Text

Reactive declarations

Alt Text

Declaring props

If blocks

Alt Text

Loop blocks

Alt Text

Await blocks

DOM events

Component events

Two-way-binding

Reactive styling

阅读 226

Web烤猫
从简入难,我的Web开发学习心得~

疯狂前端开发中……

2.2k 声望
143 粉丝
0 条评论
你知道吗?

疯狂前端开发中……

2.2k 声望
143 粉丝
宣传栏