Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"cSpell.words": [
"Dodds",
"Karlovskiy"
]
}
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,21 @@ The **Code Snapshots** and **Lecture Attachments** folders contain one subfolder
Code snapshots are primarily provided to allow you to compare your code to mine. The snapshots are taken directly from the course recordings and therefore reflect my code you see in the videos.

Of course, you can also try running those code snapshots on your machine. You'll need to run `npm install` in the individual snapshot folders, followed by `npm run dev` to start the development server - just as shown in the course.

# Anton's Experiments

This repository includes experimental implementations by [anton-karlovskiy](https://github.com/anton-karlovskiy) that explore best practices and improvements to the course code.

**Branch:** `anton-experiment`

## 10 Advanced State Management with Context useReducer -> 09-dispatching-actions-finished

This experiment focuses on React Context best practices and TypeScript migration:

- Porting the shopping-cart-context from JavaScript to TypeScript
- Implementing React Context following best practices (as outlined in [Kent C. Dodds' guide](https://kentcdodds.com/blog/how-to-use-react-context-effectively))
- Refactoring the context implementation with improved naming and structure

**Related Links:**
- [GitHub Pull Request #84](https://github.com/academind/react-complete-guide-course-resources/pull/84)
- [Live Demo (Vercel)](https://react-complete-guide-course-resources-10-9.vercel.app/)
Loading