mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Update ROADMAP with recent changes.
This commit is contained in:
parent
7fb9e940a3
commit
0663a32373
15
ROADMAP.md
15
ROADMAP.md
@ -685,6 +685,17 @@ Or, since `widget.js` is automatically recognized
|
||||
</div>
|
||||
```
|
||||
|
||||
### Deprecate `widget-types` ([#514](https://github.com/marko-js/marko/issues/514))
|
||||
|
||||
**Old:**
|
||||
```html
|
||||
<widget-types default="./widget" mobile="./widget-mobile"/>
|
||||
|
||||
<div w-bind=(data.isMobile ? 'default' : 'mobile')>
|
||||
...
|
||||
</div>
|
||||
```
|
||||
|
||||
### Deprecate `w-id` and `w-for` in favor of `ref` and `for-ref` ([#394](https://github.com/marko-js/marko/issues/394))
|
||||
|
||||
The `w-id` attribute was used to obtain references using `this.getEl(refId)`. `w-id` has been replaced with the `ref` attribute:
|
||||
@ -799,7 +810,7 @@ Or, with an argument value:
|
||||
</div>
|
||||
```
|
||||
|
||||
### Deprecate `w-preserve` and replace with `no-update` ([#419](https://github.com/marko-js/marko/issues/419))
|
||||
### Deprecate `w-preserve*` and replace with `no-update*` ([#419](https://github.com/marko-js/marko/issues/419))
|
||||
|
||||
**Old:**
|
||||
```html
|
||||
@ -815,7 +826,7 @@ Or, with an argument value:
|
||||
</div>
|
||||
```
|
||||
|
||||
### Deprecate `w-preserve-attrs` ([#422](https://github.com/marko-js/marko/issues/422))
|
||||
### Deprecate `w-preserve-attrs` and replace with `:no-update` ([#422](https://github.com/marko-js/marko/issues/422))
|
||||
|
||||
**Old:**
|
||||
```html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user