Posts in the category “tutorial”
Difference between SWR and React Query in terms of fetching data
TutorialThis article talks about React Query and SWR which will help us create easy to understand and maintainable structure to fetch data from a back-end API endpoint.
Processing Sequential JavaScript Promises using Functional Composition
TutorialHow to execute Promise Series using Composable Promises rather than Promise Chaining or Async/Await — When functions can be composed, Promises can be composed too! — Leveraging reduce() and Closure
Why Components -> State -> setState() in React
TutorialA webpage as a collection of React Components and a Component as an implementation of Functionality and UI with State as a medium
How to Smoothly Render Images in React App?
TutorialImprove your web apps UX by enhancing image render with React's onLoad event and simple SCSS
How to efficiently operate on large datasets using Transducers in JavaScript
TutorialFunctional Chaining on Array creates intermediate collections. How to avoid this inefficient scenario by iterating array elements only once!
Intercepting the case battle between snakes and camels in front-end JavaScript
TutorialHow to efficiently operate on request and response objects with almost zero changes to the container components!
Retaining React UI state without localStorage or redux-persist
TutorialHow History API and Search Params can be combined to persist React UI state across browser reloads