NativeScript: love or hate?

Aliaksei Bahachuk

Prehistory
Parents

WHO?
Telerik




Telerik
No money
Open Source - Now and Forever
NativeScript is licensed under the very permissive Apache 2 license.


Enterprise Support

Before the meeting
GitHub
7,363

556
GitHub
187

Version

Documentation - appearance

Met the NativeScript
No DOM


!==
No cross compilation

!==

Direct access to Native API

!==

Cross platforms
NativeScript runs on a pre packaged JavaScript virtual machine

WebKit JavaScript Core
Google V8



Cross platforms

You can choose
JavaScript
TypeScript
+ Angular2



UI thread

How does it work?

TODO:
How does it work?

TODO:
Native Layouts





Absolute
Dock
Grid
Stack
Wrap
Plug and Play
Use native libraries for each platform
Shared UI styles through CSS
Use JS libraries


Ideal


First surprise
Angular2 + NativeScript
Version: 0.2.1

Angular directives support is limited
Router / Form modules

First lie
Cross Platform





Hmmmmm...
First truth
UI thread only

I don't like your friends!
Npm modules with DOM or Node dependencies

No more girls!
Preprocessors

Anything else?
NS modules
Not all modules support both platforms
You need to write iOS and Android code
NS modules

And I can't cook...
Debugging: Node inspector

Sources
Console
Debugging 0
-
No Source-Map
-
No Network
-
No Element Inspector
-
No Performance
-
The console logs are not colored
Debugging 0
VERY long reload time:
*Win 10
debugger ~ 20s
livesync ~ 50s
build ~ 3m

Debugging 0
VERY long reload time:
*Win 10
livesync: you can't add resources ~ rebuild + debug
livesync doesn't support debug ~ livesync + debug

Roadmap ...
Roadmap v2.2
Roadmap v2.3
But now...

Thank you!
Questions?
NativeScript
By Aliaksei Bahachuk
NativeScript
Love or Hate?
- 1,220