Frontend developer at Reliance JIO
Frontend Developer at Reliance Jio
Feb 24, 2023 · 1 min read · Below is the simplest debounce method implementation. Forget using args and apply methods. This is just very basic and suffices the requirement const debounce = (fn, delay) => { let res; clearTimeout(res); res = setTimeout(() => { f...
Join discussion
Feb 14, 2023 · 1 min read · In tailwind, If you do "hidden lg: block" in your table row, then your table rows wont take the whole width though you have given "w-full" to your table. In such cases, do "hidden lg:table " & yr table row will take whole width That was the trick for...
Join discussion
Jan 31, 2023 · 1 min read · Well, this is something that will land you in a dangerous situation. But sometimes deploying your build becomes more important than fixing the type error which you are getting and you are not able to fix. If you are having a NextJs app, and you want ...
Join discussion
Dec 20, 2022 · 1 min read · You can use the below eslint config in your nextjs, typescript app.Do not forget to include the required pkgs in package.json { "root":true, "parser": "@typescript-eslint/parser", "extends": [ "prettier", "eslint:recommended", "plug...
Join discussion