Comments (2)
Yeah, it should be possible. But only as the store technology. The local state would have to use Solid's primitives. It's just a matter of wiring up the change mechanism. I will say this. Using snapshots is a bit counterintuitive. You can use Solid's reconcile
method. But what you are doing is taking fine-grained change. Changing it to immutable snapshot, then having Solid diff it back to a fine-grained change to update the view. Something like MST's onPatch
might work better. But I'm not completely familiar with their API.
But if you are really invested in MobX almost sounds like you might be better served looking at my other project: mobx-jsx
from solid.
If anyone gets mobx or mst to work with solidjs please let us know.
from solid.
Related Issues (20)
- Laggy Performance HOT 4
- Unable to pass signal to child components HOT 1
- ReferenceError: XXX is not defined when using createResource HOT 3
- 2-way binding for computationally expensive effects
- `createResource` seems to fail to trigger fetcher when source signal changes HOT 1
- Why can't my code use context? HOT 9
- Setting properties to the unwrapped value of a store doesn't always propagate into the store HOT 14
- If a function wrapped in `action` throws some error it should be possible to `catch` it. HOT 1
- Isomorphic export with `solid-js/web` HOT 3
- Feature request: package entry point for reactive core HOT 1
- Trying to access fields of data from `createResource` throws error HOT 2
- Why the element between Shows is removed? HOT 4
- useTransition pending states should be isolated in different Suspense boundaries HOT 2
- 'reconcile' mutates array items HOT 3
- [Bug?]: hydration mismatch on ssr, and nested ternaries in jsx with objects or signals HOT 11
- [Bug?]: Missing interactivity on page refresh for @solidjs/meta Title HOT 1
- Events from inside web components with shadow root mode open have wrong target HOT 3
- Hydration Mismatch - createResource HOT 3
- Batch top level effects to make them behave consistent with regular effects HOT 1
- SVG attribute stdDeviation changes to lowercase when used with a reactive variable HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solid.