PinnedAditya AgarwalinStorybookBring app components to StorybookUse the MSW addon to mock API requests in components6 min read·Jan 14, 2021----
Aditya AgarwalinBits and PiecesTesting a Redux Hooked AppHow to write integration tests using React Testing Library for Redux hooks8 min read·Oct 12, 2020--1--1
Aditya AgarwalinBits and PiecesHow to Hook Redux in a React AppIn this article we’ll learn how to use the new Redux hooks to build a food ordering app. It’ll cover various UI patterns like fetching…9 min read·Oct 5, 2020----
Aditya AgarwalinBits and PiecesJavascript: Why Named Arguments are Better than Positional ArgumentsDecrease bugs in our app, by passing sets of arguments as objects.5 min read·Aug 6, 2020--13--13
Aditya AgarwalinBits and PiecesDesign Systems: React Buttons with the Base + Variant PatternComposing React buttons for design systems with the Base and Variant pattern.6 min read·Jul 20, 2020----
Aditya AgarwalinBits and PiecesOptimize Your React App with React.memoLearn how to use React.memo and useMemo together to optimize your React app performance.12 min read·Jun 18, 2020----
Aditya AgarwalBetter Components with TailwindCSSTailwindCSS is great for building reusable components of your design system. The component itself can be written in ReactJs or VueJs and…4 min read·Jan 12, 2020----
Aditya AgarwalinBits and PiecesHighly Customizable Tab Component with Vue.js SlotsBuild a highly reusable and customizable Tab component7 min read·Feb 6, 2019--2--2
Aditya AgarwalinBits and PiecesInteractive Text Animation with React HooksHow to animate headings that respond to mouse movements using React Hooks, CSS Modules, CSS variables and clip-path.4 min read·Jan 16, 2019--1--1
Aditya AgarwalIdeal boilerplate for reusable React componentsGetting started with a functional React component is easy but when we are building reusable components we should keep somethings in mind.2 min read·Jan 11, 2019----