@lightningtv/solid
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

SolidJS Lightning

SolidJS Lightning

Is a UI framework for Lightning 3 Renderer built with SolidJS Universal Renderer. It allows you to declaratively construct lightning nodes with reactive primitives, just as you would construct a DOM tree in SolidJS.

Main Website

ConnectedTV Dev

Documentation

SolidJS Lightning Docs

Demo App

Solid TMDB Demo App

Tested and working on Chrome < 38 and could go earlier

Playground

playground.solidjs.com

Quick Start

Clone starter template:

> npx degit lightning-tv/solid-starter-template my-app
> cd my-app
> npm i # or yarn or pnpm
> npm start # or yarn or pnpm

Video Quick Start

Watch the video

Hello World

import { render, Text } from '@lightningtv/solid';

render(() => <Text>Hello World</Text>);

For a more detailed Hello World guide check out the Hello World guide.

Migration Guide from previous repo:

If you're migrating from https://github.com/lightning-js/solid

Find and replace: "@lightningjs/solid-primitives" with "@lightningtv/solid/primitives" "@lightningjs/solid" with "@lightningtv/solid"

Update vite.config to dedupe solid:

resolve: {
    dedupe: [
      "solid-js",
      "@lightningtv/solid",
      "@lightningtv/solid/primitives",
      "@lightningjs/solid-ui",
    ],
  },

If you don't want to find and replace you can use alias

resolve: {
    alias: {
      theme: "@lightningjs/l3-ui-theme-base",
      "@lightningjs/solid": "@lightningtv/solid",
      "@lightningjs/solid-primitives": "@lightningtv/solid/primitives",
    },
  },

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-rc11next
2.1.40latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.40
2.1.30
2.1.2185
2.1.169
2.1.073
2.0.170
2.0.022
1.6.612
1.6.54
1.6.41
1.6.31
1.6.21
1.6.11
1.6.01
1.5.01
1.4.107
1.4.91
1.4.81
1.4.71
1.4.61
1.4.51
1.4.41
1.4.31
1.4.21
1.4.11
1.4.01
1.3.01
1.2.01
1.1.21
1.1.11
1.1.01
1.0.31
1.0.21
1.0.11
1.0.01
1.0.0-rc11
1.0.0-rc01
0.1.31
0.1.21
0.1.11
0.1.01
0.0.181
0.0.171
0.0.161
0.0.151
0.0.141
0.0.131
0.0.121
0.0.111
0.0.101
0.0.91
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21
0.0.11

Package Sidebar

Install

npm i @lightningtv/solid

Weekly Downloads

491

Version

2.1.4

License

Apache-2.0

Unpacked Size

149 kB

Total Files

74

Last publish

Collaborators

  • anthony9187
  • erautenberg
  • chiefcll