kevcodes.inLazy state initialization `React.useState`The hooks API has been nothing less than a revolution in the React world. No more dealing with the complexities of the Javascript class, nor the crazy React lifecycle methods 🤮. Hooks opened up more user-friendly ways to create highly reusable logic...Oct 7, 2020·2 min read
kevcodes.inBuilding a reusable notification system with react hooks and context APIThe problem While building a re-usable component we tend to forget what are the essential features the component itself should have. Let me explain, consider a notification/alert/toast popup component, as a component it should have the ability to re...Mar 24, 2020·20 min read
kevcodes.inBuilding a dashboard UI using grid and flex-boxWhat are we building A mobile first dashboard layout. Tech stack used HTML5, CSS3, Javascript (no frameworks for now). Theory behind For a long time, layouts have been created using hack-y solutions like display: table, position: relative and floats...Mar 7, 2020·13 min read