Appearance
JavaScript
API calls
- use
Promise.allwhen making multiple calls that don't need to wait for the previous to finish - when making a delete api call, nothing should be returned from the store action
Tips
- use
.thenand.catchwith requests that return promises - avoid using
window.openmost browsers block it via built in pop up blockers
Unit Tests
- can run a single test by runningbash
yarn test:unit -t "{{test name}}"
