setemiojo
@Oluwasetemi
1
understanding-usefetchIn this repl, I explained the power of a custom hook that use the power of combination with other hooks like useRef, useReducer to create a custom hook to fetch data from a URL and return an object of error, loading or data. For more complex examples check useSWR, @tanstack/react-query and RTK from redux toolkit.
Updating the Repl to support the new tutorial feature
added the .tutorial folder
add the lesson files in markdown
support for videoUrl embed and lot more cool features32
1
1
1
understanding-usefetchIn this repl, I explained the power of a custom hook that use the power of combination with other hooks like useRef, useReducer to create a custom hook to fetch data from a URL and return an object of error, loading or data. For more complex examples check useSWR, @tanstack/react-query and RTK from redux toolkit.
32
1
1
Oluwasetemi - added the `.tutorial` folder
- add the **lesson files** in markdown
- support for videoUrl embed and lot more cool features6 months ago