Custom Hooks: useTransientState
A custom hooks to declare state that will restore to its steady-state value after some delay. This will be useful when you want to show some UI element temporarily and then hide it after some delay.
Provide Fallback UI with useLayoutEffect in Gatsby
Embracing graceful degradation in Gatsby site by providing fallback UI without JS with useLayoutEffect hooks