Skip to content

Commit 30ee537

Browse files
Apply suggestions from code review
Co-authored-by: Justin Fagnani <[email protected]>
1 parent dd5d4e6 commit 30ee537

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rfcs/NNNN-decorator-roadmap.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ This plan needs to address all audiences during the migration.
5656
After all stages of the implementation plan are complete:
5757

5858
- Standard decorators are the only decorator implementation
59-
- Decorators are the one way to define reactive properties
59+
- Decorators are the one _core_ way to define reactive properties
60+
- Add a non-core utility library that can dynamically create reactive properties
6061
- Remove `static properties`, `static createProperty()` and associated APIs
6162
- Remove `static addInitializer()` since the standard decorator API provides this
6263
- Core decorators (`@property`, `@state`) are exported from the main `reactive-element`, `lit-element` and `lit` modules.
@@ -220,7 +221,8 @@ This stage requires decorators for creating properties. It is no longer usable i
220221
##### Changes
221222

222223
- Remove previously deprecated APIs
223-
- Deprecate `static properties`
224+
- Deprecate `static properties` in ReactiveElement and LitElement
225+
- Add a new mixin that supports `static properties` for migration.
224226
- Re-export `@customElement()`, `@property()` and `@state()` from the main reactive-element, lit-element, and lit modules.
225227
- This increases the core module size, which is paid for by removing the deprecated APIs.
226228
- Other decorators are more optional and remain in their own modules.

0 commit comments

Comments
 (0)