Sam Degueldre
|
07eb958ef1
|
Revert "Update component.md"
This reverts commit 6891ad2773.
|
2025-03-14 08:48:02 -04:00 |
|
Steve Van Essche
|
6891ad2773
|
Update component.md
Replace `onWillUnmount` by `onWillDestroy` in the said paragraph
|
2025-03-14 08:47:30 -04:00 |
|
Géry Debongnie
|
a9f29c4caa
|
[FIX] refs in recursive templates now work properly
|
2022-02-09 10:26:23 +01:00 |
|
Géry Debongnie
|
74faa8bb82
|
[MISC] tools: fix version string
|
2022-02-08 13:44:18 +01:00 |
|
Bruno Boi
|
5940048a19
|
[FIX] can use t-out with String classes
|
2022-02-08 13:43:02 +01:00 |
|
Géry Debongnie
|
554157637b
|
[FIX] slots: process slot params/values like normal props
|
2022-02-08 10:58:49 +01:00 |
|
Géry Debongnie
|
3c2f073c11
|
[DOC] improve changelog
|
2022-02-07 14:58:02 +01:00 |
|
Géry Debongnie
|
f095f9e5aa
|
[IMP] blockdom: apply dynamic part of block before inserting it
|
2022-02-04 13:55:44 +01:00 |
|
Géry Debongnie
|
a402115227
|
[IMP] props validation: cannot set default value on mandatory props
|
2022-02-04 13:55:44 +01:00 |
|
Géry Debongnie
|
2afa1f4ace
|
[DOC] add some info to the changelog
|
2022-02-04 13:55:44 +01:00 |
|
Géry Debongnie
|
5a7928d3e4
|
[IMP] compiler: translatableAttributes can be added/removed
|
2022-02-03 13:41:49 +01:00 |
|
Samuel Degueldre
|
9424312573
|
[IMP] compiler: allow to declare default slot scope on component
|
2022-02-02 09:09:23 +01:00 |
|
Géry Debongnie
|
c5e197ddc1
|
[REF] allow external code to override validateTarget
|
2022-02-02 08:51:35 +01:00 |
|
Géry Debongnie
|
fa7a393f27
|
[IMP] component: validate mounting target at patch time
|
2022-01-31 17:01:20 +01:00 |
|
Géry Debongnie
|
efaa186544
|
[IMP] component: disallow calling hooks outside of setup
(and constructor)
Doing so could cause strange and difficult bugs
|
2022-01-31 15:08:31 +01:00 |
|
Bruno Boi
|
45ea6a195e
|
[FIX] hooks: useSubEnv will not erase previous useChildSubEnv
|
2022-01-31 14:49:25 +01:00 |
|
Géry Debongnie
|
2ce0c39674
|
[IMP] app: introduce test mode
Same as `dev` mode, but without warning in console
|
2022-01-31 08:57:08 +01:00 |
|
Géry Debongnie
|
924dffeb36
|
[TEST] component: add test to make sure a specific issue does not arise
|
2022-01-27 15:02:44 +01:00 |
|
Géry Debongnie
|
0dbc807e01
|
[IMP] typing: make app and mount method properly generic
|
2022-01-27 14:43:33 +01:00 |
|
Bruno Boi
|
4b88787a72
|
[FIX] compiler: never add _ prefix to non variable token
|
2022-01-27 14:41:16 +01:00 |
|
Samuel Degueldre
|
6f0a4b1c92
|
[FIX] compiler: do not pass dynamic props object as is
The child receiving the props can observe changes made to the passed
t-props object which is not desirable.
|
2022-01-27 13:19:14 +01:00 |
|
Bruno Boi
|
3f575148b6
|
[FIX] compiler: add _ prefix to local variables while compiling an expression
|
2022-01-27 10:57:13 +01:00 |
|
Géry Debongnie
|
4a971f2963
|
[IMP] hooks: introduce useChildSubEnv and change useSubEnv
|
2022-01-27 10:35:06 +01:00 |
|
Géry Debongnie
|
d7850aaf7a
|
[FIX] compiler: does not modify xml doc in place
|
2022-01-27 10:34:41 +01:00 |
|
Bruno Boi
|
0e13b859d0
|
[FIX] component: properly capture expression of t-model
|
2022-01-27 09:23:52 +01:00 |
|
Géry Debongnie
|
c813a1ce03
|
[DOC] fix error in slot documentation
|
2022-01-25 12:37:07 +01:00 |
|
Géry Debongnie
|
54d69c2dde
|
[FIX] reactivity: clear callbacks at destroy time instead of unmount
|
2022-01-24 16:36:32 +01:00 |
|
Géry Debongnie
|
11d4aae8d2
|
[FIX] compiler: add missing ; in some places
|
2022-01-24 14:51:12 +01:00 |
|
Géry Debongnie
|
b159a073d9
|
[FIX] component: proper error message in dev mode in some cases
|
2022-01-24 13:18:19 +01:00 |
|
Lucas Perais (lpe)
|
d9b189bcba
|
[FIX] compiler: force new block for svg nested in html
|
2022-01-24 12:56:43 +01:00 |
|
Géry Debongnie
|
7ef1fe0b99
|
[FIX] svg: allow path as root tag
|
2022-01-24 10:29:22 +01:00 |
|
Samuel Degueldre
|
211ecdf689
|
[FIX] blockdom: fix VHtml patching not setting its html correctly
|
2022-01-24 09:36:43 +01:00 |
|
Lucas Perais (lpe)
|
b208894d38
|
[FIX] compiler: t-model on select with options with dynamic values
|
2022-01-21 16:38:58 +01:00 |
|
Géry Debongnie
|
0737bb39b4
|
[DOC] update changelog renderToString example
|
2022-01-21 15:40:27 +01:00 |
|
Géry Debongnie
|
de584b01a8
|
[FIX] reactivity: do not observe eventtarget and other stuff
|
2022-01-21 15:40:27 +01:00 |
|
Géry Debongnie
|
525029b682
|
[IMP] reactivity: introduces markRaw and toRaw functions
|
2022-01-21 15:40:27 +01:00 |
|
Lucas Perais (lpe)
|
b88f7a03e9
|
[FIX] compiler: svg in new block takes the right namespace
|
2022-01-21 09:32:22 +01:00 |
|
Lucas Perais (lpe)
|
055cbda750
|
[FIX] compiler: t-key on a sub-domnode pushes an anchor in parent block
|
2022-01-20 18:13:01 +01:00 |
|
Géry Debongnie
|
45f6a8e97a
|
[REF] utils: move batched from reactivity to utils
|
2022-01-20 15:48:50 +01:00 |
|
Géry Debongnie
|
6091912c54
|
[IMP] component: improve error message when invalid handler
|
2022-01-20 15:48:50 +01:00 |
|
Géry Debongnie
|
586f90f6d1
|
[FIX] doc: fix broken link, and fix doc link checker test
|
2022-01-20 12:41:31 +01:00 |
|
Géry Debongnie
|
e62a0ca2d9
|
[DOC] update changelog (add browser removal to changes)
|
2022-01-20 12:29:51 +01:00 |
|
Géry Debongnie
|
3a4ee160ed
|
[FIX] playground: update window management example
|
2022-01-20 12:29:51 +01:00 |
|
Géry Debongnie
|
5f24caf40d
|
[FIX] scheduler: make sure raf is bound to window
|
2022-01-20 11:06:59 +01:00 |
|
Géry Debongnie
|
8e36a11b6e
|
[REF] scheduler: capture requestAnimationFrame asap
This is useful to prevent interactions with other testing code.
|
2022-01-20 10:19:55 +01:00 |
|
Géry Debongnie
|
9a54afcdf5
|
[FIX] playground: update example to owl 2
|
2022-01-19 16:50:08 +01:00 |
|
Géry Debongnie
|
3eefa4b153
|
[DOC] improve useEffect doc
|
2022-01-19 16:50:08 +01:00 |
|
Géry Debongnie
|
2ffb94ed98
|
[FIX] reactivity: export Reactive type
|
2022-01-19 16:50:08 +01:00 |
|
Géry Debongnie
|
6a15874d23
|
[FIX] typing: Component class should be generic on Props and Env
Otherwise, it prevents proper typing with typescript
|
2022-01-19 14:46:26 +01:00 |
|
Géry Debongnie
|
07d34248ae
|
[DOC] update changelog content
|
2022-01-19 14:45:53 +01:00 |
|