kevcodes

HomeAbout MeBadges

Lazy state initialization `React.useState`

Oct 7, 20202 min read

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...

Building a reusable notification system with react hooks and context API

Mar 24, 202020 min read

The 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...

Building a dashboard UI using grid and flex-box

Mar 7, 202013 min read

What 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...

© 2021 kevcodes

PrivacyTerms
Proudly part of