React developers should love Galaxy Watch (Hello to the Community)


Hello Fellow Tizen Developers,
I’ve just started my learning process of developing watch friendly mobile (business) applications, and I picked Tizen and Galaxy Watch. I have some experience with Android WearOS (Java) and Apple Watch (Swift), but I found terribly cumbersome to maintain two significantly complex development environment. I am very happy that Tizen supports web applications with its TAU CSS library and JavaScript watch API. Tizen is the only major watch OS today where you can build your watch applications with web development tools. Since version 16.8 with hooks and TypeScript support, React JS is a near perfect web framework, powerful still elegant. Unlike Kai OS, React is not supported directly by Tizen dev tools, but with the Tizen command line interface tools, it could be possible. I am not the first one who is interested in this topic, I found a nice project on github and I learned quite a lot from it.
I made a two part video, React for Tizen Part 1 and Part 2 about the results I got yesterday from experimenting on marrying React with Tizen.
Let me know, if you already have given a try to a similar project.
Take care and all the best,
Miklos

2 Likes

To be honest, the only Tizen tool I am using for development is “sdb” (ok, if I need some native code, I am also using the command line compilers). Other than that, I am mainly building a web app, package it up using “zip” and sign it with a Python script I have written. The end result is that I can use the same app as a web app, a Firefox OS app and a Tizen app.

1 Like

As a followup of this first experiment, here is an alternative approach, instead of TypeScript I love Flow static type checking technology for JavaScript, too.
Tizen Web Application Development with Flow Static Type Checking
TypeScript has a number of advantages vs Flow, but it requires a compilation phase. Flow supports comment syntax, which keeps JS files directly runnable, no transpilation required.

I have tried Vue before, and it was working also very well. But the main issue was debugging. It’s probably same with React. To test the tizen api functions we need to debug the code.