React
Glossary
Name
Definition
React components created with a function()
Create React App
TypeScript support
Cons:
No SEO
Default
Change
public/index.html
:<title>
Change
public/mainfest.json
Relay
Difficult and heavy
Requires
relay-compiler
Requires exporting a schema from your graphql endpoint
SEO
TypeScript
Creating
Adding
Does Not Support
No
const enum
Directory Structure
useEffect with async/await
useRef(null)
Error:
By default if you create a ref with a
null
default value and specify its generic parameter you're signaling your intent to have React "own" the reference. If you want to be able to mutate a ref that you own you should declare it like so:
Solution:
Change
useRef<T | null>(null)
touseRef<T>()
Bootstrap
Use reactstrap
Last updated
Was this helpful?