javascript-tutorial / javascript-tutorial/en.javascript.info
The explanation on how asynchronous javascript works should be more in-depth
Nessuno ha ancora preso questa issue.
- Lingua principale
- HTML
- Stelle
- 25.5k
- Fork
- 4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Asynchronous javascript and the event loop are probably some of the most important topics to learn when delving into the more complex aspects of javascript. However, for some reason, 90% of tutorials and such that you can find online are extremely shallow about this topic, if not completely misleading. I don't think this one is misleading, but it's definitely shallow, which is a pity considering that about 90% of javascript.info is great and super in-depth. I think you should explain more thoroughly and with more visual exaples how the runtime environment works (the engine, the web APIs, macro-task and micro-task queue), how calls to web APIs use separate threads (preferably with examples, like what happens in the event loop and runtime environment when i use fetch?), how exactly async/await works (the function's execution is synchronous until the first await, and then it basically acts as if the remaining code in the function exists in a .then callback) and so on. I feel like if someone can do it, it's you guys, i have faith in you.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia individuando la sezione del tutorial su JavaScript asincrono e sul ciclo degli eventi; nell’issue non sono indicati file o test. Esamina la spiegazione esistente, quindi pianifica una trattazione più approfondita degli ambienti di runtime, delle code, delle Web APIs, di fetch e di async/await con esempi visivi. Il lavoro sarà considerato completato quando la sezione spiegherà in modo completo gli argomenti richiesti senza rimanere superficiale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100