Skip to content

Commit

Permalink
rename to advanced react apis
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Apr 24, 2024
1 parent 097766f commit 5820622
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 38 deletions.
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<div>
<h1 align="center"><a href="https://www.epicweb.dev/workshops">🔥 Advanced React Hooks</a></h1>
<h1 align="center"><a href="https://www.epicweb.dev/workshops">🔥 Advanced React APIs</a></h1>
<strong>
Learn the more advanced React hooks and different patterns to enable great
developer APIs for custom hooks.
Learn the more advanced React APIs and different use cases to enable great
user experiences.
</strong>
<p>
We’ll look at some of the more advanced hooks and ways they can be used to
optimize your components and custom hooks. We’ll also look at several
patterns you can follow to make custom hooks that provide great APIs for
developers to be productive building applications.
We’ll look at some of the more advanced hooks and APIs and ways they can be used to
optimize your components and custom hooks. We'll consider each API with common use cases you'll run into in your applications.
</p>
</div>

Expand All @@ -17,7 +15,7 @@
<div align="center">
<a
alt="Epic Web logo with the words Deployed Version"
href="https://advanced-react-hooks.epicweb.dev"
href="https://advanced-react-apis.epicweb.dev"
>
<img
width="300px"
Expand Down Expand Up @@ -76,8 +74,8 @@ network connection before running the setup and grab a snack.
Follow these steps to get this set up:

```sh nonumber
git clone --depth 1 https://github.com/epicweb-dev/advanced-react-hooks.git
cd advanced-react-hooks
git clone --depth 1 https://github.com/epicweb-dev/advanced-react-apis.git
cd advanced-react-apis
npm run setup
```

Expand All @@ -95,13 +93,13 @@ Learn all about the workshop app on the
[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[git]: https://git-scm.com/
[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/advanced-react-hooks/validate.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/epicweb-dev/advanced-react-hooks/actions?query=workflow%3Avalidate
[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/advanced-react-apis/validate.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/epicweb-dev/advanced-react-apis/actions?query=workflow%3Avalidate
[license-badge]: https://img.shields.io/badge/license-GPL%203.0%20License-blue.svg?style=flat-square
[license]: https://github.com/epicweb-dev/advanced-react-hooks/blob/main/LICENSE
[license]: https://github.com/epicweb-dev/advanced-react-apis/blob/main/LICENSE
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://kentcdodds.com/conduct
[win-path]: https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/
[mac-path]: http://stackoverflow.com/a/24322978/971592
[issue]: https://github.com/epicweb-dev/advanced-react-hooks/issues/new
[issue]: https://github.com/epicweb-dev/advanced-react-apis/issues/new
<!-- prettier-ignore-end -->
2 changes: 1 addition & 1 deletion epicshop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ ADD . .
RUN npm install --omit=dev

CMD rm -rf ${EPICSHOP_CONTEXT_CWD} && \
git clone https://github.com/epicweb-dev/advanced-react-hooks ${EPICSHOP_CONTEXT_CWD} && \
git clone https://github.com/epicweb-dev/advanced-react-apis ${EPICSHOP_CONTEXT_CWD} && \
cd ${EPICSHOP_CONTEXT_CWD} && \
npx epicshop start
2 changes: 1 addition & 1 deletion epicshop/fly.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app = "epicweb-dev-advanced-react-hooks"
app = "epicweb-dev-advanced-react-apis"
primary_region = "sjc"
kill_signal = "SIGINT"
kill_timeout = 5
Expand Down
26 changes: 13 additions & 13 deletions epicshop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion epicshop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"dependencies": {
"@epic-web/workshop-app": "^4.1.0",
"@epic-web/workshop-app": "^4.2.0",
"execa": "^8.0.1"
}
}
4 changes: 3 additions & 1 deletion epicshop/update-deps.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
npx npm-check-updates --dep prod,dev --upgrade --root
rm -rf node_modules package-lock.json ./exercises/**/node_modules
cd epicshop && npx npm-check-updates --dep prod,dev --upgrade --root
cd ..
rm -rf node_modules package-lock.json ./epicshop/package-lock.json ./epicshop/node_modules ./exercises/**/node_modules
npm install
npm run setup
npm run typecheck
Expand Down
2 changes: 1 addition & 1 deletion exercises/FINISHED.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Advanced React Hooks 🔥
# Advanced React APIs 🔥

👨‍💼 Congratulations! You've finished the workshop!

Expand Down
2 changes: 1 addition & 1 deletion exercises/README.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Advanced React Hooks 🔥
# Advanced React APIs 🔥

👨‍💼 Hello there! I'm Peter the Product Manager and I'll be helping guide you
through all the things that our users want to see in our app that you'll be
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "advanced-react-hooks",
"name": "advanced-react-apis",
"private": true,
"epicshop": {
"title": "Advanced React Hooks 🔥",
"githubRoot": "https://github.com/epicweb-dev/advanced-react-hooks/blob/main"
"title": "Advanced React APIs 🔥",
"githubRoot": "https://github.com/epicweb-dev/advanced-react-apis/blob/main"
},
"type": "module",
"imports": {
Expand Down

0 comments on commit 5820622

Please sign in to comment.