@teaui/preact 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # TeaUI + React
1
+ # TeaUI + Preact
2
2
 
3
3
  See [TeaUI](https://github.com/colinta/teaui) for more info about
4
- TeaUI itself. This library adds a React renderer/reconciler.
4
+ TeaUI itself. This library adds a Preact renderer/reconciler.
5
5
 
6
6
  ```tsx
7
- import React, {useReducer} from 'react'
7
+ import {useReducer} from 'preact/hooksZ'
8
8
  import {interceptConsoleLog} from '@teaui/core'
9
9
  import {
10
10
  Box,
11
11
  Button,
12
12
  Stack,
13
13
  run,
14
- } from '@teaui/react'
14
+ } from '@teaui/preact'
15
15
 
16
16
  // Recommended:
17
17
  interceptConsoleLog()
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Preact renderer for TeaUI",
4
4
  "author": "Colin T.A. Gray <colinta@colinta.com>",
5
5
  "contributors": [],
6
- "version": "1.1.4",
6
+ "version": "1.1.5",
7
7
  "license": "MIT",
8
8
  "preferGlobal": false,
9
9
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "peerDependencies": {},
39
39
  "dependencies": {
40
40
  "preact": "^10.24.3",
41
- "@teaui/core": "^1.1.4"
41
+ "@teaui/core": "^1.1.5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@teaui/shared": "1.1.4"