Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docs/typos #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
kentcdodds merged 2 commits into epicweb-dev:next from infoxicator:docs/typos
Oct 23, 2021
Merged
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
2 changes: 1 addition & 1 deletion src/exercise/01.tsx
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function useDebounce<Callback extends (...args: Array<unknown>) => unknown>(

// use the latest version of the callback here:
// 💰 you'll need to pass an annonymous function to debounce. Do *not*
// simply change this to `debounc(latestCallbackRef.current, delay)`
// simply change this to `debounce(latestCallbackRef.current, delay)`
// as that won't work. Can you think of why?
return React.useMemo(() => debounce(callback, delay), [callback, delay])
}
Expand Down
2 changes: 1 addition & 1 deletion src/exercise/02.tsx
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function Details({selectedPokemon}: {selectedPokemon: PokemonData | null}) {
function Footer({user}: {user: User}) {
return (
<footer>
<p>{`Don't have a good dayhave a great day, ${user.name}`}</p>
<p>{`Don't have a good day, have a great day, ${user.name}`}</p>
</footer>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/exercise/03.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Elaborate on your learnings here in `src/exercise/03.md`
## Background

**One liner:** The Compound Components Pattern enables you to provide a set of
components that implicitely share state for a simple yet powerful declarative
components that implicitly share state for a simple yet powerful declarative
API for reusable components.

Compound components are components that work together to form a complete UI. The
Expand Down

AltStyle によって変換されたページ (->オリジナル) /