https://www.youtube.com/watch?v=-wXPxJYhZeI&list=WL&index=18
- nvm (to download the correct version of Node)
- csv asset to read and test stuff. You can use this one Kagle
- git clone https://github.com/henriquesss/web-workers-at-browser
- nvm use
- npm run start
src/controller.js= Intermediador/validador de recursossrc/index.js= Centraliza tudo para ser importado pelo index.htmlsrc/service.js= Regras de negóciosrc/view.js= Operacoes de frontendsrc/worker.js= Operacoes nas threads do navegador
cat database.csv | wc-l(count the number of lines in a file)- Work threads is paralels threads running with main
- Too much
console.logcan downgrade de software performance
- Improve UI of the project
- Create a new layer with validations (middleware?)
- Discover and use a good practice at
src/service.jsinstead oflines.shift() - Use lib
csvtojsoninstead of function atsrc/service.js - Fix the line numbers