This repository contains experimental code to enable the usage of SolidJs with the rescript language.
Once (if at all) a feasable and developer friendly set of bindings has been worked out, they will be published as a separate npm package.
JSX is only supported for custom components (e.g. <App />, if the module App contains a function createElement). <div>..</div> is not easily possible without developing a ppx. Therefore we need to use Hyperscript.
$ npm installIn the project directory, you can run:
Compiles rescript files on change and runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Builds all rescript files and bundles the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)