I hereby claim:
- I am smwarren on github.
- I am swarren (https://keybase.io/swarren) on keybase.
- I have a public key ASBQQr25PV80D3SpK85aVKRUXlMccFDQL5lznu5p7jf8JAo
To claim this, I am signing this object:
| import {SetStateAction, useCallback} from 'react'; | |
| import create from "zustand"; | |
| export type EqualityFn<T> = (left: T | null | undefined, right: T | null | undefined) => boolean; | |
| // eslint-disable-next-line @typescript-eslint/ban-types | |
| const isFunction = (fn: unknown): fn is Function => (typeof fn === 'function'); | |
| /** Given a type `T`, returns the keys that are Optional. */ | |
| type OptionalKeys<T> = |
| // store.js | |
| import React, {createContext, useReducer} from 'react'; | |
| const initialState = {}; | |
| const store = createContext(initialState); | |
| const { Provider } = store; | |
| const StateProvider = ( { children } ) => { | |
| const [state, dispatch] = useReducer((state, action) => { | |
| switch(action.type) { |
I hereby claim:
To claim this, I am signing this object:
| [{ "long": "-80.7476887", "lat": "35.2180384", "name": "Shadow Point", "description": "The Best Shadow Burgers in town." },{ "long": "-80.7476887", "lat": "35.3180384", "name": "Mirror Point", "description": "Want to Stay Healthy?" },{ "long": "-80.843124", "lat": "35.227085", "name": "Focal Point", "description": "The Food That Focus's on you" }, { "long": "-84.207420", "lat": "35.863232", "name": "The New SPot", "description": "Chicken Wings!" } ] |
| /* (320x480) iPhone (Original, 3G, 3GS) */ | |
| @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { | |
| /* insert styles here */ | |
| } | |
| /* (320x480) Smartphone, Portrait */ | |
| @media only screen and (device-width: 320px) and (orientation: portrait) { | |
| /* insert styles here */ | |
| } | |