🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

solid-repl

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-repl

Quickly discover what the solid compiler will generate from your JSX template

0.23.10
Source
npm
Version published
Weekly downloads
64
3100%
Maintainers
3
Weekly downloads
 
Created
Source

Solid Playground

Solid Template Explorer

This is the source code of the solid playground website. Through it you can quickly discover what the solid compiler will generate from your JSX templates.

There are 3 modes available:

  • DOM: The classic SPA generation mechanism
  • SSR: The server side generation mechanism
  • HYDRATATION: The client side generation for hydratation

Getting up and running

This project is built using the pnpm package manager.

Once you got it up and running you can follow these steps the have a fully working environement:

# Clone the project
$ git clone https://github.com/solidjs/solid-playground

# cd into the project and install the dependencies
$ cd solid-playground && pnpm i

# Start the dev server, the address is available at http://localhost:3000
$ pnpm run dev

# Build the project
$ pnpm run build

:warning: Make sure to use Chromium-based browser for dev mode. Firefox doesn't work due to to vite's limitation with web worker.

Credits / Technologies used

  • solid-js: The view library
  • @babel/standalone: The in-browser compiler. Solid compiler relies on babel
  • monaco: The in-browser code editor. This is the code editor that powers VS Code
  • Windi CSS: The CSS framework
  • vite: The module bundler
  • workbox: The service worker generator
  • pnpm
  • lz-string: The string compression algorith used to share REPL

FAQs

Package last updated on 14 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts