Skip to content

feat(solid): update Solid starter to Solid 2.0 - #24

Merged
NathanWalker merged 1 commit into
mainfrom
feat/solid-2
Nov 17, 2026
Merged

NathanWalker merged 1 commit into
mainfrom
feat/solid-2

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

Moves the Solid starter behind https://nativescript.new/solid to Solid 2.0.

Changes

apps/nativescript-starter-solid/package.json only. The starter's source already works on Solid 2 unchanged.

  • solid-js ^1.8.16 → ^2.0.0
  • @nativescript-community/solid-js ^0.0.6 → ^2.0.0 (v2.0.0)
  • add @solidjs/universal ^2.0.0. Solid 2 moved the universal renderer out of solid-js/universal.
  • @solidjs/babel-plugin ^2.0.0 replaces babel-preset-solid. The community package's webpack config compiles with it.
  • remove solid-refresh, which has no Solid 2 release

@nativescript/core stays on ~8.9.0, because Preview doesn't support core 9 yet (see #23).

Once merged, extract-templates.yml updates the solid branch that StackBlitz forks.

Verification

Fresh npm install of apps/nativescript-starter-solid, which resolves solid-js 2.0.0 and @nativescript/core 8.9.9.

iOS Android
npx nativescript-webpack build builds builds
npx nativescript-webpack build --env production builds builds

Ran on an iOS 26.5 simulator with the 8.9 iOS runtime. The app renders, and incrementing the counter updates both the interpolated label and the Component child (0 → 2).

Not tested inside StackBlitz/Preview itself. On an iOS 27 simulator, any core 8.9 app aborts at launch because it doesn't adopt the UIScene lifecycle; that's unrelated to this change.

- solid-js, @solidjs/universal and @nativescript-community/solid-js ^2.0.0
- @solidjs/babel-plugin replaces babel-preset-solid; drop solid-refresh
@coderabbitai

coderabbitai Bot commented Nov 17, 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: 4e08ecf8-2af3-419d-ac59-b6b3ba23054d

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

@NathanWalker
NathanWalker merged commit 2d09cc2 into main Nov 17, 2026
4 checks passed
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