lilact 0.2.0 → 0.2.2
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.
- package/README.md +4 -5
- package/dist/lilact.development.min.js +238 -278
- package/dist/lilact.development.min.js.map +1 -1
- package/dist/lilact.production.min.js +8139 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +8 -8
- package/docs/classes/accessories.Suspense.html +7 -7
- package/docs/classes/components.Component.html +10 -10
- package/docs/classes/components.HTMLComponent.html +10 -10
- package/docs/classes/components.RootComponent.html +10 -10
- package/docs/functions/components.createComponent.html +1 -1
- package/docs/functions/components.createRoot.html +1 -1
- package/docs/functions/components.render.html +1 -1
- package/docs/functions/hooks.createContext.html +1 -1
- package/docs/functions/hooks.useActionState.html +3 -2
- package/docs/functions/hooks.useCallback.html +1 -1
- package/docs/functions/hooks.useContext.html +1 -1
- package/docs/functions/hooks.useEffect.html +4 -3
- package/docs/functions/hooks.useId.html +1 -1
- package/docs/functions/hooks.useImperativeHandle.html +1 -1
- package/docs/functions/hooks.useLayoutEffect.html +4 -3
- package/docs/functions/hooks.useLocalStorage.html +4 -3
- package/docs/functions/hooks.useMemo.html +4 -3
- package/docs/functions/hooks.useRef.html +4 -3
- package/docs/functions/hooks.useTransition.html +1 -1
- package/docs/index.html +4 -5
- package/docs/static/demos/pane.jsx +31 -0
- package/docs/static/demos/usetransition.jsx +1 -1
- package/docs/static/index.html +1 -0
- package/docs/static/lilact.development.min.js +238 -278
- package/docs/static/lilact.production.min.js +8139 -1
- package/package.json +1 -2
- package/root/demos/pane.jsx +31 -0
- package/root/demos/usetransition.jsx +1 -1
- package/root/index.html +1 -0
- package/root/lilact.development.min.js +238 -278
- package/root/lilact.production.min.js +8139 -1
- package/src/components.jsx +4 -1
- package/src/hooks.jsx +55 -55
- package/src/misc.jsx +13 -1
- package/src/pane.jsx +207 -269
- package/webpack.config.js +1 -1
- package/docs/static/index 2.html +0 -95
- package/root/index 2.html +0 -95
package/README.md
CHANGED
|
@@ -98,11 +98,10 @@ As a simple example Lilact can be used like this:
|
|
|
98
98
|
</head>
|
|
99
99
|
<body></body>
|
|
100
100
|
<script type='text/jsx'>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
function App(
|
|
104
|
-
|
|
105
|
-
return <div>Hello World</div>!
|
|
101
|
+
const { render } = Lilact;
|
|
102
|
+
|
|
103
|
+
function App() {
|
|
104
|
+
return <div>Hello World</div>;
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
render(<App/>, document.body);
|