Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] Class static block available by default #8606

Closed
6 of 7 tasks
Rumyra opened this issue Sep 3, 2021 · 3 comments
Closed
6 of 7 tasks

[JS] Class static block available by default #8606

Rumyra opened this issue Sep 3, 2021 · 3 comments
Assignees
Labels
Content:JS JavaScript docs fx release archive A closed issue relating to firefox release notes for developers.

Comments

@Rumyra
Copy link
Collaborator

Rumyra commented Sep 3, 2021

Acceptance Criteria

  • The listed features are documented sufficiently on MDN
  • BCD is updated
  • Interactive example and data repos are updated if appropriate
  • The content has been reviewed as needed

For folks helping with Firefox related documentation

  • Set bugs to dev-doc-complete
  • Add entry to Firefox release notes if feature is enabled in release
    or
  • Add entry to Firefox experimental features page if feature is not yet enabled in release

Features to document

Class static blocks - see https://github.com/tc39/proposal-class-static-block which is helpful. Check classes & static docs for updates

Related Gecko bugs

https://bugzilla.mozilla.org/show_bug.cgi?id=1725689

@hamishwillee
Copy link
Collaborator

hamishwillee commented Sep 21, 2021

@Rumyra, JavaScript is mad. I'll at least start this, but will need your review.

So I think this is worth having its own topic under classes - Classes > Class_static_initialization_blocks. Probably also updates to Classes > static and maybe Classes >Static methods and properties.
Might need to be mentions in Classes > Public_class_fields (not so sure on that).

Some really useful resources, particularly the first one:

Status:

@Rumyra
Copy link
Collaborator Author

Rumyra commented Sep 23, 2021

@Rumyra, JavaScript is mad.

Yup /me nods wildly

I thought this might be a bit of work. I'll come back to it first thing on Monday to check through the above properly.

Happy for you to get started and I'll try and support as best I can 👍

@hamishwillee
Copy link
Collaborator

@Rumyra Great. I did a first draft in #9281 - I am kind of hoping that if you don't like that you will take the job over. I spent a lot of time on this today. I do NOT think it is hard - I think I'm just not particularly experience in JavaScript and the time remaining for this cycle is short.

I decided that https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static would be a good place for this, but it would end up hiding the 80% people need most. So in the end I created a new doc for this and linked.

@hamishwillee hamishwillee moved this from In progress to Needs Review in Firefox 93 (Rel: 04.10.21, Soft deadline: 29.09.21) Sep 28, 2021
@Rumyra Rumyra closed this as completed Oct 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 2022
@bsmth bsmth added fx release archive A closed issue relating to firefox release notes for developers. and removed Firefox 93 labels Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:JS JavaScript docs fx release archive A closed issue relating to firefox release notes for developers.
Projects
No open projects
Development

No branches or pull requests

3 participants