Lazy 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...2 min read路kevcodes.inOct 7, 2020
Building 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...20 min read路kevcodes.in1SMar 24, 2020
Building 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...13 min read路kevcodes.inMar 7, 2020