yiqu / food-dash

Food ordering app

Home Page:https://yiqu.github.io/food-dash/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Food Dash

CircleCI

Concepts practiced

  • useRef(initState) - setting a reference to a element to access it later for read operations.
  • useState(currentState, setStateFunction) - setting states and updating states.
  • ReactDOM.createPortal(content, elementToPortalTo) - portaling a child/element to another element via portal's ID.
  • <React.Fragment /> - placeholder to avoid div soup
  • useEffect - Runs after every render, and will be triggered by the dependencies array. Clean up runs before useEffect.
  • useReducer - Managing complex states with initial state and dispatching actions to modify states.
  • useContext - Easy to pass states down to nested components without props chaining.
  • forwardRef - Turning a component into a ref() to call its functions from parent.
  • useMemo - Memoize a object only ru-run based on dependencies.

Backend utilized

  • firebase - Dynamic JSON database.

Lib used

References

About

Food ordering app

https://yiqu.github.io/food-dash/


Languages

Language:JavaScript 81.5%Language:SCSS 13.2%Language:HTML 3.4%Language:CSS 1.9%