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
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.
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 ChaininggetFiltersFromUrl->const router = useRouter().querypushFiltersToUrl->router.pushtoQueryObjecttoQueryStringfunction 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
modulesbynormalizersthen tests all functions.