Svelte Native

The Svelte Mobile Development Experience

  • Write less code

    Build boilerplate-free mobile applications using languages you already know — HTML, CSS and JavaScript

  • No virtual DOM

    Svelte compiles your code to tiny, framework-less vanilla JS — your app starts fast and stays fast

  • Truly reactive

    No more complex state management libraries — Svelte brings reactivity to JavaScript itself

Svelte Native is a new approach to building mobile applications using NativeScript. Where other JS-Native frameworks like React-Native and Nativescript-Vue do the bulk of their work on the mobile device, Svelte Native shifts that work into a compile step that happens when you build your app.

Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the native view widgets when the state of your app changes.

	npm install -g nativescript
	npx degit halfnelson/svelte-native-template my-mobile-app
	cd my-mobile-app

	npm install
	tns run android --bundle
			

See the quickstart guide for more information.

Learn Svelte Native