Skip to content

rfc-1068 - Update the collections to be under the /collections path#1138

Merged
kategengler merged 2 commits intoadvance-rfc-1068from
NullVoxPopuli-patch-1
Aug 22, 2025
Merged

rfc-1068 - Update the collections to be under the /collections path#1138
kategengler merged 2 commits intoadvance-rfc-1068from
NullVoxPopuli-patch-1

Conversation

@NullVoxPopuli
Copy link
Contributor

Alternative to a separate RFC: #1137

- "new TrackedWeakSet(" - [5 Results](https://github.com/search?q=%22new+TrackedWeakSet%28%22+NOT+is%3Afork++NOT+org%3Aemberjs+NOT+org%3Atracked-tools+NOT+org%3Aember-cli+NOT+org%3Aember-migration-utils+NOT+org%3Aember-learn+&type=code)
- "new TrackedWeakMap(" - [4 Results](https://github.com/search?q=%22new+TrackedWeakMap%28%22+NOT+is%3Afork++NOT+org%3Aemberjs+NOT+org%3Atracked-tools+NOT+org%3Aember-cli+NOT+org%3Aember-migration-utils+NOT+org%3Aember-learn+&type=code)

Additionally, specifying collections gives us a blessed path for exported other useful datastructures in the future without continually adding to the main export file (even though dead-code-elimination would eliminate what is unused - not importing what may not be used could help local development)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be @ember/reactive/data-structures?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, but I didn't want to sound too computer sciency

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆 Maps,Sets,WeakMaps and WeakSets ... not at all computer science-y

@kategengler
Copy link
Member

This seems a reasonable change as it has not yet been released.

@kategengler kategengler merged commit b367370 into advance-rfc-1068 Aug 22, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants