-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Create
HybridView
code generator base (#494)
* feat: Create `HybridView` Swift and Kotlin base * fix: HybridView * feat: Add `HybridView.ts` to nitrogen * feat: Add necessary changes to nitrogen * fix: Actually resolve type to find base types (HybridView -> HybridObject) * feat: Generate TestView.nitro.ts 🎉 * fix: Fix hybrid view base accidentally * fix: Pass `HybridData` to super * fix: Finally fix `HybridView` recursion * fix: Make `HybridView` the protocol's base instead * Always inherit HybridObject * run nitrogen * feat: Create props file * Name it component * fix: Indent * Add warn for RN 78 requirement * move into `views` * Create `.mm` file as well * Add super.load * fix: Fix namespace * fix: indent * fix it? * Update NitroDefines.hpp * fix: Make `/views/` private header * Add filter func and some docs * feat: More docs * sort * feat: Also create Android part * feat: Implement actual prop parsing * ah fix * fix: Runtime type * fix: Add `hashString(string_view)` equivalent * fix: Add string_view and string overloads * fix: indent shadownode * whoops * fix: Wrap in state * comments * fix: Fix throw when RN isnt present * fix: Fix `Any?` type * fix: Includes * feat: Autolink it and implement it..? * fix: Load native part of `NitroImage` in shared OnLoad.kt file * fix: Actually add view-manager to Package * fix: Rename to Hybrid* prefix * fix: Use the `*OnLoad` init func now * fix: Remove duplicate JNI registrations
- Loading branch information
Showing
59 changed files
with
1,748 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.