Skip to content

Commit

Permalink
update to react 19
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Dec 10, 2024
1 parent 5cdb79f commit df002ac
Show file tree
Hide file tree
Showing 24 changed files with 758 additions and 1,812 deletions.
738 changes: 245 additions & 493 deletions epicshop/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions epicshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"test": "playwright test && node test.js"
},
"dependencies": {
"@epic-web/config": "^1.16.3",
"@epic-web/config": "^1.16.4",
"@epic-web/workshop-app": "^5.9.0",
"@epic-web/workshop-utils": "^5.9.0",
"enquirer": "^2.4.1",
"execa": "^9.5.1",
"execa": "^9.5.2",
"match-sorter": "^8.0.0",
"p-limit": "^6.1.0"
}
Expand Down
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/01.problem.lazy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/01.solution.lazy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/02.problem.eager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/02.solution.eager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/03.problem.transition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/04.code-splitting/03.solution.transition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@use-gesture/react": "^10.3.0",
"d3-geo": "^3.1.0",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spring": "^9.7.3",
"spin-delay": "^2.0.0",
"topojson-client": "^3.1.0"
Expand All @@ -28,16 +28,12 @@
"@playwright/test": "^1.47.2",
"@types/d3-geo": "^3.1.0",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/topojson-client": "^3.1.4",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/01.problem.use-memo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/01.solution.use-memo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/02.problem.worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/02.solution.worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/03.problem.async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/05.calculations/03.solution.async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
12 changes: 4 additions & 8 deletions exercises/06.rerenders/01.problem.memo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,19 @@
"comlink": "^4.4.1",
"downshift": "^8.3.2",
"match-sorter": "^6.3.4",
"react": "19.0.0-beta-94eed63c49-20240425",
"react-dom": "19.0.0-beta-94eed63c49-20240425",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"spin-delay": "^2.0.0"
},
"devDependencies": {
"@epic-web/config": "^1.5.4",
"@playwright/test": "^1.47.2",
"@types/node": "^20.9.1",
"@types/react": "npm:types-react@19.0.0-alpha.5",
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.3",
"prettier": "^3.0.3",
"typescript": "^5.0.2",
"vite": "^5.2.10"
},
"overrides": {
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom"
}
}
Loading

0 comments on commit df002ac

Please sign in to comment.