Skip to content

Instantly share code, notes, and snippets.

@tcaer
Created July 14, 2020 04:01
Show Gist options
  • Save tcaer/60d5b2c93d17aa3ca082f81b6b965093 to your computer and use it in GitHub Desktop.
Save tcaer/60d5b2c93d17aa3ca082f81b6b965093 to your computer and use it in GitHub Desktop.
import React from 'react';
import { RecoilRoot } from 'recoil';
import SomeComponent from './somecomponent.js';
function App() {
return (
<RecoilRoot>
<SomeComponent />
</RecoilRoot>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment