What is Taro?
Taro is a multi-terminal unified development framework built by Jingdong R&D team (www.jd.com), a Chinese e-commerce technology company.
Nowadays, there are various forms of clients on the market. When business requirements are expressed in different clients at the same time, the cost of writing multiple sets of codes for different terminals is obviously very high. At this time, the ability to adapt to multiple terminals by writing only one set of codes is extremely needed.
With Taro, only one set of code can be written, and then the source code can be compiled by Taro’s compiler to run on different terminals (Weixin applet, H5, App, etc.). Taro also provides out-of-the-box grammar detection and automatic completion functions, which effectively improves the development experience and efficiency.
What can Taro offer?
Write at one time, run at multiple terminals
Since it’s a multi-terminal solution, Taro’s most important ability is, of course, to write a set of code that outputs multi-terminal code. At present, Taro has supported a set of code generation H5 and small programs at the same time, and the App side (React Native) side will soon be supported. At the same time, such as fast applications will also be supported.
At the same time, Taro has been put into use in the production environment, and has supported the development of a 30,000-line code widget TOPLIFE. Jingdong shopping widget and a local widget are also being reconstructed using Taro, which is about to go online. More services will be accessed in the future
What is the difference between Taro and React Native, flutter and weex?
React Native, flutter and weex are all cross platform development frameworks, which can realize the specific development of multiple platforms running on IOS, Android and web. But recently, many small program forms have appeared in China, such as WeChat applet, Baidu applet, Alipay applet, etc. in order to be compatible with these forms of clients, Taro came into being, which claims to support all the terminals. In fact, the essence of Taro is to re-encapsulate on the basis of RN, and encapsulate the small program classes. It really implements “write once, run everywhere”.
Official website: https://taro.aotu.io/