fullstack-hy2020 / fullstack-hy2020.github.io

Home Page:https://fullstack-hy2020.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Couple of important remarks" (part2) - Exchange rate app

saidam90 opened this issue · comments

Could you please explain in the content of the "Couple of important remarks" (part2), in the code of the Exchange rate app why we cannot initialise state to an empty array [], instead of null? Both seem to produce the same result, but having an explanation in the content would be helpful.