How it renders
In the src/index.tsx file you can see date-fns
configuration going and just a simple ReactDOM.render()
function.
Every component is a functional component:
We have some custom hooks in src/hooks
folder, if you want to create a new one, follow these instructions.
Custom hooks
Name
Description
useMediaExtendedQuery
Returns true if device viewport is wider than MIN_WIDTH
. Useful if you need to make some responsiveness inside the code. Use with caution of performance
useQuery
Gets query from page's URL
useRoute
Returns current route object. See config/routes.ts
for type declarations
useSelector
Custom wrapper for redux useSelector
hook
Last updated
Was this helpful?