Skip to content

Instantly share code, notes, and snippets.

View gforrest-bw's full-sized avatar

Grant Forrest gforrest-bw

View GitHub Profile
@gforrest-bw
gforrest-bw / README.md
Last active August 17, 2020 14:57
Interview CodeSandbox instructions

Using CodeSandbox in our interviews

Hello! We're glad you're considering a position with us at Bandwidth. Like many companies, we're trying to adapt to online interviews. On the UI team at Bandwidth, we've chosen to use a tool called CodeSandbox - maybe you've heard of it!

If you've used Visual Studio Code, CodeSandbox is going to feel really familiar. It's the same editor, but in a browser - and it gives you a live preview of your app as you're working on it.

This document outlines how to set up an environment to work in while you complete our interview exercises.

1 Visit the CodeSandbox website and sign up / sign in

@gforrest-bw
gforrest-bw / SuggestionsContext.tsx
Last active February 5, 2020 20:33
React Tree-Walking Parent Context
import React, {
createContext,
useRef,
useCallback,
useState,
RefObject,
useEffect,
KeyboardEvent,
ReactElement,
useMemo,