22/04/2020

react vanilla component showcase

slide left for editor


  • the hardest component was the show/hide navbar on scroll
  • learnt to use useref,usestate,useffect hooks together to memorise a previous value on change
  • that would be where react material-ui would be useful
  • for slider sidenav, react usestate hook =>toggle classname => css transitions

Comments

Popular posts from this blog

08/06/2020 - scoped css with sass + react

11/02/2021 - git commands for remote repo

29/11/2021 - time flies