We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c43bdd4 commit 8934766Copy full SHA for 8934766
guides/release/components/defining-a-component.md
@@ -369,6 +369,21 @@ Events](../actions-and-events).
369
370
#### Component Hooks and Properties
371
372
+Components have a very small class signature:
373
+
374
+ ```js
375
+class GlimmerComponent {
376
+ isDestroying = false;
377
+ isDestroyed = false;
378
379
+ constructor(owner, args) {
380
+ this.args = args;
381
+ }
382
383
+ willDestroy() {}
384
+}
385
+```
386
387
The component class has 3 properties:
388
389
- `args`: The arguments that were passed to the component
0 commit comments