You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@lightningtv/solid` is an integration for the [LightningJS 3 Renderer](https://github.com/lightning-js/renderer) built with [SolidJS](https://www.solidjs.com/)[Universal Renderer](https://github.com/solidjs/solid/releases/tag/v1.2.0). It allows you to declaratively construct lightning nodes with SolidJS reactive primitives. It includes everything you need to rapidly build the performant TV Apps.
5
+
`@solidtv/solid` is an integration for the [LightningJS 3 Renderer](https://github.com/lightning-js/renderer) built with [SolidJS](https://www.solidjs.com/)[Universal Renderer](https://github.com/solidjs/solid/releases/tag/v1.2.0). It allows you to declaratively construct lightning nodes with SolidJS reactive primitives. It includes everything you need to rapidly build the performant TV Apps.
Copy file name to clipboardExpand all lines: docs/articles/basics.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ Now we have a simple button component that accepts props, making it easy to cust
200
200
We can improve our button’s flexibility by introducing a style object. This also has the benefit of keeping our styles separate from the UI, similar to how CSS works with HTML. We could import our styles from another file or leave them inline - choice is yours.
201
201
202
202
```jsx
203
-
import { View, Text } from'@lightningtv/solid';
203
+
import { View, Text } from'@solidtv/solid';
204
204
constbuttonStyle= {
205
205
width:300,
206
206
height:150,
@@ -247,7 +247,7 @@ One problem we have no is all the buttons are a set size... let's fix that.
247
247
Flex is a fundamental tool for building layouts. By using [flex implementation](https://lightning-tv.github.io/solid/#/flow/layout?id=flex) for Solid, we can create layouts that are responsive and easy to manage. Let’s make a button that resizes based on the size of it's text:
248
248
249
249
```jsx
250
-
import { View, Text } from'@lightningtv/solid';
250
+
import { View, Text } from'@solidtv/solid';
251
251
constbuttonStyle= {
252
252
display:'flex',
253
253
height:150,
@@ -364,7 +364,7 @@ Let’s say you want to dynamically generate buttons based on a list of items. S
Copy file name to clipboardExpand all lines: docs/articles/domrenderer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ export default defineConfig({
28
28
Once the bundle is configured, you must turn on the DOM Renderer in your application's `Config` settings. This allows you to toggle it on and off dynamically within the application code.
Copy file name to clipboardExpand all lines: docs/essentials/render.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
In this snippet, we are utilizing SolidJS in conjunction with Lightning TV to render a simple "Hello World" text on the screen. SolidJS is a declarative JavaScript library for creating user interfaces, renowned for its performance and fine-grained reactivity. Lightning TV is a framework for building high-performance, animated TV applications. By combining these technologies, we can create dynamic and visually appealing interfaces optimized for TV environments.
4
4
5
5
```jsx
6
-
import { render, Text } from'@lightningtv/solid';
6
+
import { render, Text } from'@solidtv/solid';
7
7
8
8
render(() =><Text>Hello World</Text>);
9
9
```
@@ -28,12 +28,9 @@ You can learn more about SolidJS from their [documentation](https://docs.solidjs
28
28
Before calling the Render function, you can set rendererOptions.
29
29
30
30
```jsx
31
-
import { render, Config, Text } from'@lightningtv/solid';
0 commit comments