Skip to content

RFC: A modular NativeScript core - #66

Closed
ammarahm-ed wants to merge 1 commit into
NativeScript:mainfrom
ammarahm-ed:rfc/modular-core
Closed

ammarahm-ed wants to merge 1 commit into
NativeScript:mainfrom
ammarahm-ed:rfc/modular-core

Conversation

@ammarahm-ed

Copy link
Copy Markdown

Work in progress. This RFC is not finalized. It is opened as a draft to gather input from the core team, plugin authors and the community while the design is still being iterated on.

Rendered

Proposes rebuilding @nativescript/core as a set of small packages that can be used, skipped or replaced independently, with @nativescript/core kept as the one package apps install:

  • Packages: a UI-free kernel, capabilities (fs, fetch, storage, ...) named after the web or Node API they provide, and a new class-based view system.
  • Style and layout: a C++ CSS engine over build-time compiled CSS, behind an interface a JavaScript engine also implements; Taffy for layout, with the existing layouts kept as translation classes and view flattening.
  • Platforms: one folder per platform implementing a package's interface.ts, so new platforms add folders and change no shared code.
  • Adoption: a compat package carrying the 9.x API so existing apps and plugins run unchanged.

Feedback is most useful on the unresolved questions at the end of the document.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9187b7af-ab0c-4294-bc6b-e50359a70c0e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ammarahm-ed

Copy link
Copy Markdown
Author

Moved to #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant