r/solidjs • u/andrepimentaa7 • Sep 02 '26
I'm building Solid Native
I've been building React Native apps for a long time. They all start fast. Keeping them fast as they grew is another story.
More state, more dependencies, more devs, and suddenly you are doing re-render arithmetic in your head. Is this selector too broad? Did that context wake the whole screen? Is the animation fighting the JS thread?
Obviously large React Native apps can be built. I'm just tired of what it takes to keep a large one feeling fast.
And then I found Solid.
To my React-trained brain, Solid felt like React if someone removed the part I had spent years optimizing around. Same JSX and components, but components run once and signals update only what depends on them. No virtual DOM. No reconciliation. No wondering whether one innocent change froze the whole app.
That was the part that made everything click. I wanted that feeling on a phone.
Kind of by accident, I also found react-native-graph, which draws with Skia and is extremely fast. It made me wonder what would happen if the whole application was rendered that way.
So I went down a rabbit hole. Turns out Flutter already owns its rendering pipeline (used Skia, now Impeller) and it's fast. Bun + JavaScriptCore, which is also one of the fastest JS engines out there, gave me the web APIs I was tired of polyfilling.
Now I had the three parts: Solid for the application, Bun for the JavaScript runtime, and Flutter for rendering.
So I cross-compiled Bun to run on iOS and Android, put Solid inside it, and let Flutter render what Solid describes.
I named it Skal, a mixture of Solid + Skia. (It also means cheers if you have ever watched a Viking show 🍻. )
I think of it as Solid Native.
Solid's universal renderer turns JSX into binary UI operations written into shared memory. Flutter reads the same bytes and renders the widget tree. No JSON or platform channel in the hot UI path. No DOM. No WebView.
When a signal changes, Solid already knows the exact consumer, so Skal sends the operation for that node and stops there.
It currently has 49 fast-path widget types, navigation, persistence, animations, overlays, and some native integrations. It runs on Android arm64, iOS, macOS, and the web. It is still early.
Here are some results from a Samsung Galaxy A14 5G running Android 15, with release builds on both sides and interleaved runs:
| Test | Skal | React Native |
|---|---|---|
| Dropped frames, image feed | 0 | 13 |
| Tap to render, median | 3.53 ms | 7.30 ms |
| One frame of work (200 components x 10 reads + 1 update) | 0.05 ms | 0.80 ms |
| State updates per second, 288 cells | 103,846 | 4,901 |
| Idle CPU | 1.20% | 6.93% |
What excites me is writing Solid code, running it on a real phone, and knowing that as the app grows, it still flies.
To try it, you need Bun and Flutter installed on your computer, plus the normal Xcode or Android tooling for the platform you want to run. Then:
npm create skal my-app
cd my-app
bun run dev:ios # or dev:android, dev:macos, dev:webOr throw your AI at the Markdown docs.
Repo: https://github.com/skal-multiplatform/skal
If you already use Solid, what would Skal need before you would try it for a real mobile app?
Skal 🍻
4
u/vikkio Sep 02 '26
seems a huge project for just one person, how much of this is AI slop?
most of the examples are just js or jsx istead of typescript, does the bun runtime on native system not run ts syntax?
3
u/nuclearbananana Sep 02 '26
Pretty nice. Might try it
2
u/Slulego Sep 04 '26
Love the idea. A few thoughts: Flutter already makes for a large app size. Does this add much more to the bundle? I do prefer JSX for building layouts but Flutter is pretty easy to pickup on its own. Also, I guess you can’t accurately use the term “native” since all the widgets are simulated and not the real OS.
2
u/blankeos Sep 09 '26
letsgooo this is nice
2
u/andrepimentaa7 Sep 02 '26
I know I know sorry about that. I was just trying to make the word a bit more "universal" so everyone can it write on any country/keyboard.
7
u/NikoRollins Sep 02 '26
Cool. Just a bit of nitpicking, as a Scandinavian. Skal translates to either “must/have to” or “shell”, depending on the language.
Cheers is “skål”. The å sound is completely different from the a sound
6
u/Enceladusx17 Sep 03 '26
are you aware of solidrt https://github.com/wellawaretech/solidrt
1
u/whoisarepo Sep 02 '26
Good stuff, I’m actively researching this problem of TSX to Native problem as even the flagship solutions aren’t ideal for me, solid has been along side tauri so I’ve taken that approach, but I think I prefer yours. Lol don’t like some choices tho so I might just fork and share! Thanks! 😊 this was needed and use of flutter core was clever 👌🏿
1
u/RobotechRicky Sep 02 '26
Does this leverage native mobile components or is this just a wrapper around a SolidJs web app? What about accessing the hardware (cameras, etc.)?
3
u/gadbuy Sep 03 '26
Have you considered this https://lynxjs.org/react/introduction ? it allows to implement any framework on top of their native engine.
1
u/RobKohr Sep 21 '26
Solidjs native might be a better name for searchability as SOLID is already a programming term.
If it is successful and there are jobs for it, people will want a keyword that is searchable in resumes and applications.