-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
I want to improved and made the codebase easier to maintain and understand. We use https://nextjs.org/ for the server and the client. So we can move local feature to nextjs features (like fetching data).
libraries
-
objectNested
-> Nullish Coalescing and Optional Chaining -
getFiltersFromUrl
->const router = useRouter().query
-
pushFiltersToUrl
->router.push
-
toQueryObject
-
toQueryString
function components
Replaced class components by function components (by using react hook):
accessibility
added missing property like aria-*
fetching
Improved fetching by using getServerSideProps and swr
Then we could remove request
modules
renamed modules
by normalizers
then tests all functions.