Repository navigation
v0.0.1-alpha.16
Pre-release
Pre-release
Upgrading from alpha.15
- The CLI now installs
react-nitro-layout-starlightand uses Lynx Starlight by default. To keep Yoga, addreact-nitro-layout-yoga@0.0.1-alpha.16as a direct app dependency and set"layoutEngine": "react-nitro-layout-yoga"inapp.json. Removereact-nitro-yogaif you installed it directly. Both providers use the newreact-nitro-layoutpackage. After updating your React Nitro packages, runbunx react-nitro prepareand rebuild the native app. - Custom native views now expose
layoutNodePtrin place ofyogaNodePtr. Renderer extensions can usegetViewLayoutNode(view)in place ofgetViewYogaNode(view). Rebuild custom modules against the updated view spec. - On Android,
NitroActivitynow extendsAppCompatActivity. If your existing app still uses the platform theme from the old starter, update the parent ofReactNitroThemeinandroid/app/src/main/res/values/styles.xmland any night-mode override toTheme.Material3.DayNight.NoActionBar. Apps with a compatible AppCompat theme can keep it.
Features
- Android
- use AppCompatActivity and a Material 3 theme (#601)
- Example
- follow dark mode in the example app colors (#603)
- Layout
- support Starlight and Yoga as build-time providers (#623)
- Navigation
- allow hiding the native stack header (#636)
- Networking
- send HTTP methods and request bodies (#625)
- Renderer
- Runtime
Fixes
- Dev
- drop the unused react-nitro-runtime types from the tsconfig (#607)
- Navigation
- Renderer
- Runtime
- accept nullable Gradle extra property type (#632)