NewsCrawler.org

AngularLynx: Angular apps drawn as native iOS and Android UI via Lynx

AngularLynx lets developers write apps in Angular and run them on Lynx[1], an open-source engine from ByteDance that is used in TikTok. Templates become the phone's own UI controls, styled with CSS, so the app scrolls and feels like other native apps.

The project supports standalone components, signals[2], dependency injection, the router, forms and @defer[3]. The commands ng generate, ng test and ng build work as in standard Angular. The command ng build --platform ios or android builds apps ready for the stores, with no Xcode or Gradle project to maintain.

While coding, developers can preview the app in a browser, or scan a QR code with Lynx Explorer to run it on a phone. The kit includes UI components to copy into a project, Tailwind CSS, gestures, animations, a testing library and internationalization. The page also compares AngularLynx with Ionic and Capacitor, NativeScript, Angular Native and React Native, and says that each of these alternatives makes the developer give something up.

Read the original angularlynx.js.orgDiscussion

Sources

  • angularlynx.js.org

    Author: u/dolanmiu

    AngularLynx: idiomatic Angular rendering natively on iOS and Android via Lynx, with Renderer2 implemented on Lynx’s element API

    6 comments

Published: First seen: Читать по-русски

Open as a page