lilact 0.7.2 → 0.7.4
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 +5 -1
- package/dist/lilact.development.js +9966 -0
- package/dist/lilact.development.js.map +1 -0
- package/dist/lilact.development.min.js +1 -1
- package/dist/lilact.development.min.js.map +1 -1
- package/dist/lilact.production.min.js +1 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/functions/jsx.transpileJSX.html +1 -1
- package/docs/functions/misc.Fragment.html +2 -1
- package/docs/functions/transition.TransitionGroup.html +1 -1
- package/docs/index.html +4 -1
- package/docs/static/demos/switch-transition.jsx +50 -0
- package/docs/static/index.html +51 -47
- package/docs/static/lilact.development.js +9966 -0
- package/docs/static/lilact.development.min.js +1 -1
- package/docs/static/lilact.production.min.js +1 -1
- package/package.json +4 -2
- package/root/demos/switch-transition.jsx +50 -0
- package/root/index.html +51 -47
- package/root/lilact.development.js +9966 -0
- package/root/lilact.development.min.js +1 -1
- package/root/lilact.production.min.js +1 -1
- package/src/components.jsx +3 -3
- package/src/jsx.js +4 -2
- package/src/misc.jsx +2 -2
- package/src/transition.jsx +1 -0
- package/webpack.config.js +5 -5
package/README.md
CHANGED
|
@@ -15,11 +15,15 @@ performance improvements, and new features. [Sponsor me on GitHub](https://githu
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
`Lilact` is
|
|
18
|
+
`Lilact` is a very lightweight implementation of the React API that is
|
|
19
19
|
designed to work in the browser. It can be used as a single script
|
|
20
20
|
that is around `80kb` minified and around `27kb` gzipped and includes its whole api.
|
|
21
21
|
`Lilact` is very fast, it uses minimum resources and handles memory very efficiently.
|
|
22
22
|
|
|
23
|
+
`Lilact` works in the browser, so it doesn't rely on any JS/node back-end and can
|
|
24
|
+
essentially work with any kind of web server/back-end. An example of using it with a PHP/MySQL
|
|
25
|
+
data store is available on [LilactPHPDemo](https://github.com/arashkazemi/LilactPHPDemo).
|
|
26
|
+
|
|
23
27
|
`Lilact` uses its own JSX transpiler, and not babel. It is a recursive-descent
|
|
24
28
|
parser with lookahead, but it doesn't parse the JS syntax completely and relies on the
|
|
25
29
|
JS runtime to detect some errors. The transpiler weights
|