PinnedRobert S (codeBelt)inBetter ProgrammingPrevent Route Changes and Unsaved Data Loss in Next.jsWarn users about unsaved changes before leaving the web page in Next.jsFeb 7, 20237Feb 7, 20237
PinnedRobert S (codeBelt)inBetter ProgrammingUpload Files to Next.js With API RoutesHow to use React, next-connect, Multer, and axios to upload files to your Next.js appJan 7, 20216Jan 7, 20216
Robert S (codeBelt)inJavaScript in Plain EnglishTypeScript: How to Require Generic Inferred Type Parameters in FunctionsExplore the power of TypeScript generics with the NoInfer type to enforce specific types for inferred parameters.Nov 12, 2023Nov 12, 2023
Robert S (codeBelt)inJavaScript in Plain EnglishGet the First, Last and Middle Elements of an Array using JavaScriptGet the first, middle, and last elements of an array using ES6.Feb 8, 2022Feb 8, 2022
Robert S (codeBelt)inBetter ProgrammingNext.js: Reducing Bundle Size When Using Third-Party LibrariesAn example of how to improve bundle size with Next.jsDec 10, 20202Dec 10, 20202
Robert S (codeBelt)inBetter ProgrammingWhat Is React Teleportation?Transporting React components to other React components with portalsOct 20, 20201Oct 20, 20201
Robert S (codeBelt)inBetter ProgrammingImproving Redux Reducers in 3 WaysWith objects, classes, and functional programmingNov 19, 20192Nov 19, 20192
Robert S (codeBelt)inITNEXTSynchronize Visuals with Asynchronous API RequestsHere is a nice technique to show the loading indictor for a minimum amount of time with asynchronous api requests.Nov 9, 20191Nov 9, 20191
Robert S (codeBelt)inITNEXTReact/Redux API Loading & ErrorsManaging API requesting states and handling errors nicelyOct 1, 2019Oct 1, 2019
Robert S (codeBelt)inBetter ProgrammingMy Awesome React/Redux StructureLearn how to architect a React/Redux application in a classy wayOct 1, 20195Oct 1, 20195