WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 19698158

(no title)

cbenz | 6 years ago

Using the Svelte JS library (https://svelte.technology) you can have both: server-side rendered components [1] and compile to web components (custom elements) [2]

Another advantage is that the components compile to vanilla JavaScript, so we don't rely on a runtime library to run the application.

[1] https://svelte.technology/guide#server-side-rendering

[2] https://svelte.technology/guide#custom-elements

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com