-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I am interested in expanding the idea of NativeScript modules from iOS and Android to the web. I am just starting to get into NativeScript, so there may be some things I am missing here, it seems like there is no reason why you can't translate something like this:
<Label text="hello world" />
to
<span>hello, world</span>
Yes, I picked something super easy, but my point is just that I believe the number of things that don't have literally ANY web equivalent are extremely small. To prove my point, you can see the React community trying to do exactly what I am suggesting here with React Native:
https://github.com/necolas/react-native-web
I use Angular 2 so I know it is possible at the very least to create a new Angular 2 renderer that reads in NativeScript XML and spits out HTML, but I would imagine that this may be the type of thing we want deeper in NativeScript core.
I guess I am looking for feedback from the NativeScript community on two levels:
- Feasibility of doing NativeScript for the Web
- Assuming it is not impossible and there is interest, thoughts on how to best organize this type of effort
I don't have the bandwidth to do something like this by myself, but if there were other people interested I would love to work together to make this happen.