-
Notifications
You must be signed in to change notification settings - Fork 3.9k
WeakRef tutorial #2831
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
Comments
What's difficult? |
Which current text? I wasn't able to find any mention of WeakRef in javascript.info.
I can ask same question regarding any article on javascript.info: what do I fail to understand on MDN so that I read javascript.info. I like human-friendly, more detailed and more practical approach here. In particular, there's not so many good sources on WeakRefs on the web, the main 3 are: What's missing:
I think all that and more could be a good help for newcomers if covered in a separate tutorial. |
Sorry, you're right, nothing about WeakRefs, indeed. Personally, I never used them, and don't intend to. |
I'd welcome a chapter about them from anyone who feels he knows enough to write one. |
I suppose it should reside somewhere around garbage-collection, since that's directly related topic.
I'm curious why not? |
@dy Maybe ;) One needs to carefully consider it. Right now, you can see a recommendation to avoid it in MDN. |
Yes, unless you master them. Hence the topic :) |
I know NOTHING about this... But I usually avoid tricky things that need to be mastered, shared code or not. So I agree, the topic should be covered, with the appropiate warnings... |
Hi, guys. |
WeakRefs and FinalizationRegistry are hard to master.
Please add tutorials
The text was updated successfully, but these errors were encountered: