Skip to content

Instantly share code, notes, and snippets.

@vikrantnegi
Created February 18, 2020 12:29
const [books, setBooks] = useState([...new Array(10).fill({})]);
const [isDataFetched, setDataFetched] = useState(false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment