Skip to content

Commit e3d0adc

Browse files
committed
revised nextjs curriculum
1 parent c1216cc commit e3d0adc

40 files changed

+1068
-762
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

nextjs/package-lock.json app-nextjs/package-lock.json

+1,041-733
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app-nextjs/package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "nextjs",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"start": "next dev"
8+
},
9+
"dependencies": {
10+
"classnames": "^2.5.1",
11+
"next": "14.2.10",
12+
"react": "^19.0.0",
13+
"react-dom": "^19.0.0"
14+
},
15+
"devDependencies": {
16+
"@types/node": "^20",
17+
"@types/react": "^19.0.8",
18+
"@types/react-dom": "^19.0.3",
19+
"eslint": "^8",
20+
"eslint-config-next": "14.2.3",
21+
"postcss": "^8",
22+
"tailwindcss": "^3.4.1",
23+
"typescript": "^5"
24+
}
25+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

app-react-router-spa/COURSES/advanced-hooks/02-synchronization/lecture/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
createRoutesFromElements,
1010
} from 'react-router'
1111
import { QueryClientProvider } from '@tanstack/react-query'
12-
import { BrowseVacationsPage, loader as BrowseVacationsLoader } from '~/BrowseVacationsPage'
12+
import { BrowseVacationsPage } from '~/BrowseVacationsPage'
1313
import { FavoriteProvider } from '~/FavoriteContext'
1414
import { LessonBody, LessonCard } from '~/Lesson'
1515
import { queryClient } from '~/utils/queryClient'
@@ -55,7 +55,7 @@ function Layout() {
5555
export const router = createBrowserRouter(
5656
createRoutesFromElements(
5757
<Route path="/" element={<Layout />}>
58-
<Route index element={<BrowseVacationsPage />} loader={BrowseVacationsLoader} />
58+
<Route index element={<BrowseVacationsPage />} />
5959
<Route path="*" element={<Navigate to="/" />} />
6060
</Route>
6161
)

nextjs/package.json

-27
This file was deleted.

0 commit comments

Comments
 (0)