javascript-tutorial / javascript-tutorial/en.javascript.info
The explanation on how asynchronous javascript works should be more in-depth
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- HTML
- Estrelas
- 25.5k
- Forks
- 4k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece localizando a seção do tutorial sobre JavaScript assíncrono e o loop de eventos; nenhum arquivo ou teste é especificado na issue. Revise a explicação existente e, em seguida, planeje uma cobertura mais aprofundada de ambientes de execução, filas, Web APIs, fetch e async/await com exemplos visuais. Considera-se concluído quando a seção explicar completamente os tópicos solicitados sem permanecer superficial.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- documentation
- Tipo de issue
- Documentação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100