Commit graph

467 commits

Author SHA1 Message Date
Ayo Ayco
488743e011
chore: format code with prettier (#14) 2023-12-10 10:58:46 +01:00
Ayo
6eb93b5dd3 feat: update counter example 2023-12-09 22:52:17 +01:00
Ayo
ec50f0f86e refactor(templating): attributes handling & JSX
- support unparented DOM nodes
- simpler attributes handling
- jsx-like syntax
- use .mjs for utils
2023-12-09 22:35:58 +01:00
Ayo
538aa01ecd feat(templating): support adding aria- attributes 2023-12-09 09:54:35 +01:00
Ayo
669fee1d49 feat(templating): only assign standard DOM props 2023-12-09 02:05:32 +01:00
Ayo
6844ffe9f2 feat(templating): support more standard attrs
- data- <-> dataset.
- for <-> htmlFor
- class <-> className
2023-12-09 01:57:13 +01:00
Ayo
27a5fb3024 feat(templating): support for non on-event props
- use class or className
- only on-event props are tolowercase'd
2023-12-09 00:48:56 +01:00
Ayo
b4f3b98ee4 feat: use standard event prop behavior
- call .toLowerCase() on attribute props
2023-12-09 00:15:39 +01:00
Ayo
7bf37d75db feat: use standard event handler props 2023-12-09 00:11:32 +01:00
Ayo
956424cbaf chore: bump version for release 2023-12-08 23:36:20 +01:00
Ayo
26129a5934 feat: helpful TypeError message 2023-12-08 23:36:01 +01:00
Ayo
07bb2d850a feat: simpler TypeError; use proxy default err 2023-12-08 23:14:03 +01:00
Ayo
75f914606f feat: example of type mismatch 2023-12-08 22:40:27 +01:00
Ayo
bea93f69f7 feat: improve error report for type mismatch 2023-12-08 22:40:03 +01:00
Ayo
98c89624f9 feat: throw TypeError when setting different type 2023-12-08 22:34:25 +01:00
Ayo
7500f0c3fe chore: bump version for release 2023-12-08 22:13:51 +01:00
Ayo
85284e9e42 fix: wrong previous dom used in diffing 2023-12-08 22:13:34 +01:00
Ayo Ayco
3c1b3b0893
feat: templating (#9) 2023-12-08 21:31:05 +01:00
Ayo Ayco
00648883fa
feat: props blueprint (#8) 2023-12-08 18:00:40 +01:00
Ayo
000e3811cd feat(site): update code example import 2023-12-08 15:35:42 +01:00
Ayo
2ac38747cb feat(site): show console on code pen for beta 2023-12-08 15:22:51 +01:00
Ayo
f56068e76e chore: export all utils 2023-12-08 15:05:27 +01:00
Ayo
b613d8e77c refactor: use index exports 2023-12-08 14:45:12 +01:00
Ayo Ayco
703ef9e45d
feat: initial utils distribution (#7) 2023-12-08 13:15:00 +01:00
Ayo
1ae5fa7535 chore: update readme; props can now hold object 2023-12-07 18:31:57 +01:00
Ayo
84c4a00fb8 feat: update example for object props 2023-12-07 18:05:51 +01:00
Ayo
d7651b5f33 feat: support objects in props 2023-12-07 17:30:53 +01:00
Ayo Ayco
d6755dd9e3
chore: update readme "note" 2023-12-04 15:52:02 +01:00
Ayo
d3dc78e75c chore: organize examples 2023-12-02 17:00:41 +01:00
Ayo
91356bde9f chore: fix typo on readme 2023-12-02 09:53:02 +01:00
Ayo
b5b4243f6d feat(site): modify primary link to gh instead 2023-12-02 09:50:19 +01:00
Ayo
c3957862ad chore: update README section for template & render 2023-12-02 09:49:05 +01:00
Ayo
6ae5961c4f feat(site): show link to FAQs issue 2023-12-02 09:39:37 +01:00
Ayo
8829bd28aa feat: show 2.0 beta announcement 2023-12-01 10:46:34 +01:00
Ayo
fd72c6d097 2.0.0-beta 2023-12-01 09:11:44 +01:00
Ayo
7632f96f69 2.0.0 2023-12-01 09:11:18 +01:00
Ayo
2943aa4c37 breaking: remove main entry point; use exports 2023-12-01 09:11:05 +01:00
Ayo
78ebd0058e 1.14.7 2023-12-01 08:48:03 +01:00
Ayo Ayco
73dd374a3e
feat: attach-effect (#2)
We are now able to attach "side effects" to property value changes, from inside the component and outside.
2023-12-01 08:42:10 +01:00
Ayo
54a3819b83 style(site): text & button sizes 2023-11-30 15:33:23 +01:00
Ayo
dd6dc96f1b chore: organize examples 2023-11-30 15:23:44 +01:00
Ayo
c9dd590931 feat(site): update content 2023-11-27 09:46:57 +01:00
Ayo
3e8334f2c1 feat(site): update content 2023-11-26 19:50:29 +01:00
Ayo
766cf65b4a feat(site): update content 2023-11-26 19:36:36 +01:00
Ayo Ayco
5cbd65090b
Merge pull request #1 from ayoayco/perf/optimize
feat: preserve props types
2023-11-26 04:21:30 +01:00
Ayo
9480f37844 chore: format 2023-11-26 04:19:19 +01:00
Ayo
da85a71aec 1.13.3 2023-11-26 03:47:07 +01:00
Ayo
b3189e2c6e chore: update readme 2023-11-26 03:46:54 +01:00
Ayo
6027f664b3 feat: preserve props type 2023-11-26 03:43:41 +01:00
Ayo
0209095d0a style(site): adjust call to action responsiveness 2023-11-25 21:17:44 +01:00