Skip to content

Commit 5927894

Browse files
committed
wording
1 parent 39966be commit 5927894

File tree

2 files changed

+3
-3
lines changed
  • react/advanced-hooks

2 files changed

+3
-3
lines changed

Diff for: react/advanced-hooks/05-form-actions/lecture/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function Pending({ children }: { children: React.ReactNode }) {
309309

310310
// Notes:
311311
// 1. useActionState is designed to "reduce" state sequentially. This means if we
312-
// rapid-click the form we get less-idea results:
312+
// rapid-click the form we get less-than-ideal results:
313313
// Issues:
314314
// - Without startTransition, each action when it sets state waits for the previous
315315
// action to finish.

Diff for: react/advanced-hooks/06-imperative-react/lecture/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as ReactDOM from 'react-dom/client'
22
import { LessonBody, LessonCard } from '~/Lesson'
33
// import { App } from './app.final'
4-
// import { App } from './app.popover.final'
5-
import { App } from './app'
4+
import { App } from './app.popover.final'
5+
// import { App } from './app'
66
import './styles.css'
77

88
ReactDOM.createRoot(document.getElementById('root')!).render(

0 commit comments

Comments
 (0)