Skip to content

Commit

Permalink
docs: 📝 Update WIL
Browse files Browse the repository at this point in the history
  • Loading branch information
HelpMe-Pls committed Aug 1, 2022
1 parent 86a09bb commit 53ee7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WIL.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 137,7 @@ cache into something separate.
})()
}, [refetchBookSearchQuery])
```
- Explicitly type guard the `unknown` params by casting their type with the `as` keyword([at line 17](https://github.com/HelpMe-Pls/bookshelf/blob/fb248d107e63d3035473555cd9091955bbeebb16/src/index.tsx)).
- Explicitly type guard the `unknown` params by casting their type with the `as` keyword ([at line 17](https://github.com/HelpMe-Pls/bookshelf/blob/fb248d107e63d3035473555cd9091955bbeebb16/src/index.tsx)).
- Setting a default value to a variable if it's `undefined` ([at 1:00](https://epicreact.dev/modules/build-an-epic-react-app/cache-management-solution-08)).
- Use nullish coalescing operator `??` with run-time array traversing methods ([at line 25](https://github.com/HelpMe-Pls/bookshelf/blob/fb248d107e63d3035473555cd9091955bbeebb16/src/utils/list-items.ts)).
- Perform CRUD operations with `react-query`.
Expand Down

0 comments on commit 53ee7ba

Please sign in to comment.