Video: Babel Module Resolver
Custom React Hooks
Released:
-
1. Getting Started
4M20S
-
2. A Basic Toggle Hook
7M12S
-
3. Custom Toggle Hook
10M24S
-
4. Return Types
6M4S
-
5. Inc and Deinc Hook
5M22S
-
6. Custom useInc
6M33S
-
7. Full Featured Custom Hooks
10M16S
-
8. Use Mount and Unmount
11M25S
-
9. Binding Events with UseHover
11M33S
-
10. Indexing Our Hooks
3M55S
-
11. React Context & Custom Hooks
12M29S
-
12. Custom Hooks for Context Providers
6M8S
-
13. Live Cookies
18M59S
-
14. Dom Manipulation with useScrollFreeze
10M6S
-
15. useWindowWidth and Dom Events
7M36S
-
16. Refs and ResizeObserver with useMeasure
10M4S
-
17. Load Scripts with useScript
16M7S
-
18. useLocalStorage
10M45S
-
19. Combine Hooks for Theme System
12M8S
-
20. Babel Module Resolver
7M46S
-
21. Where To Go From Here
2M14S
Babel Module Resolver
Here we will eject from Create React App and start using babel so that we can use module resolvers to clean up our import statements.
Note: This is an optional step and once you have ejected from CRA you cannot go back.
npm run eject
npm install —save-dev babel-plugin-module-resolver