Skip to content

Commit d0e4c86

Browse files
committed
remove Glimmer and Typescript references
1 parent e1b99e6 commit d0e4c86

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

guides/release/components/defining-a-component.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,7 @@ export default class BlogPost extends Component {}
285285
> You may notice that we're importing the component from `@glimmer` instead of
286286
> `@ember`. The Glimmer VM is the underlying rendering engine in Ember, and
287287
> Glimmer.js is a minimal component framework built on top of the Glimmer VM.
288-
> Ember and Glimmer.js use the same component class, which allows you to share
289-
> code between Ember and Glimmer.js apps. For more details on Glimmer.js, check
290-
> out [its documentation](https://glimmerjs.com/)
288+
> Althought components are imported from this outside library, you don't need worry about learning Glimmer separately from Ember.
291289
292290
You can add methods and fields to the component, and then access them from the
293291
component's template. For instance, we could add the `sectionClass` property
@@ -371,22 +369,6 @@ Events](../actions-and-events).
371369

372370
#### Component Hooks and Properties
373371

374-
Components have the following class signature (this given as a TypeScript class
375-
signature for clarity and brevity, if you don't know TypeScript, don't worry!
376-
We'll explain what it all means in just a minute):
377-
378-
```js
379-
class GlimmerComponent {
380-
args: object;
381-
382-
isDestroying: boolean;
383-
isDestroyed: boolean;
384-
385-
constructor(owner: unknown, args: object);
386-
willDestroy();
387-
}
388-
```
389-
390372
The component class has 3 properties:
391373

392374
- `args`: The arguments that were passed to the component

guides/release/state-management/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ in a popup, the page you're on, or the color of a button, Ember needs to respond
4848
to that change!
4949

5050
Ember's primary system for detecting changes to state is _tracked properties_.
51-
If you read the section on Glimmer components, you'll probably recognize these.
51+
If you read the section on components, you'll probably recognize these.
5252
They're properties that are decorated with the `@tracked` decorator:
5353

5454
```js

0 commit comments

Comments
 (0)