Skip to content

Instantly share code, notes, and snippets.

@tcaer
Created July 14, 2020 04:08
Show Gist options
  • Save tcaer/2c0bb10f5ca3a8d456b722db8e9ed77b to your computer and use it in GitHub Desktop.
Save tcaer/2c0bb10f5ca3a8d456b722db8e9ed77b to your computer and use it in GitHub Desktop.
import { atom } from 'recoil';
export const someTextState = atom({
key: 'someTextState',
default: ''
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment