Using UseStaticQuery Hook in a Gatsby Site

Note: This post is part 2 of three-parts Understanding react hooks post series. This learning post is still in active development and updated regularly. In the previous learning post (part 1 in this series), an overview of three basic react hooks: useState(), useEffect() and useContext() was discussed with simple use case examples. Learning series Part […]

Learning Use React Hooks

Note: This post is part 1 of three-parts Understanding react hooks post series. This learning post is still in active development and updated regularly. React hooks were introduced in React 16.8 release. React Doc describes hooks as “functions that let you ‘hook into‘ React state and lifecycle features from function components. Hooks don’t work inside […]