Comments (4)
Yeah it looks to be possible. I will take a look.
from solid.
Ok I've created Solid Standalone, which leverages Babel Standalone to be able to run in the browser. Admittedly it's a bit limited, and while it's possible to work with Babel directly to compile I've set it up to use a script tag of type 'text/solid' to simplify in these codepens.
I made a counter: https://codepen.io/ryansolid/pen/XxpZLX/?editors=1000#0
and a simple Todos: https://codepen.io/ryansolid/pen/ZqLoxo?editors=1000
I'm gathering those are the type of examples.
from solid.
I opened up #12, the main motivation being that I want to make examples, and for people to start writing code the same without having to worry about "don't do it this way, this is just for example". In other words, I want the dev experience to be simple, and production ready, without caveats.
So for example, with a declarative JS-based DSL-like sort of approach, then users (f.e. newcomers to programming) can rely on the basic knowledge they'll learn in my simple examples, and start making things that are "ready for production".
from solid.
I'm starting to make 3D examples over at https://github.com/trusktr/infamous/tree/master/examples, but I don't want to make examples that aren't production-ready and then people start copying the techniques into production code. So if the techniques in the examples are simply "production ready", then everything will be fine if people start copying patterns into production apps.
In the docs, I will also mention how to use tooling, and JSX, etc, to make the dev experience better for those people willing to invest the time to take it to the next level.
Sometimes the ability to modify existing build tools/workflows is out of scope for a developer's work, so having a "production ready" way to start doing cool things without having to touch build systems would be nice.
from solid.
Related Issues (20)
- Typo found in signal.ts? HOT 3
- Circular references in Stores trigger loss of proxying if non-trackable objects are referenced HOT 5
- Changing the "data-type" of a `createStore` attribute causes referenced data to be modified HOT 1
- `value` parameter of `createEffect` is not passed to `on` as `prevValue` when `defer` is `true`. HOT 1
- using createStore setter function to update array results in argument is not iterable error HOT 3
- Solidjs is not working with bun.
- 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
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.