Skip to content

Commit

Permalink
[webpack/] Upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroomes committed Sep 19, 2024
1 parent 524f579 commit b3fa8ee
Show file tree
Hide file tree
Showing 4 changed files with 1,809 additions and 1,425 deletions.
2 changes: 2 additions & 0 deletions double-fetching-problem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Follow these instructions to build and serve the program:
General clean-ups, todos and things I wish to implement for this project:

* [x] DONE Scaffold the app. The app suffers from the infamous "double fetch problem" caused by `<React.StrictMode>`.
* [ ] Use the "fetch-on-render" and "render-as-you-fetch" language to describe the problem and alternatives. I think
this example is a good fit for this discussion.


## Reference
Expand Down
8 changes: 5 additions & 3 deletions webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ Here are some elements I need to remember about "how to create a React + TypeScr

Follow these instructions to build and run the project.

1. Install dependencies
1. Pre-requisite: Node.js
* I used version 20.17.0
2. Install dependencies
* ```shell
npm install
```
2. Build the project:
3. Build the project:
* ```shell
npm run build
```
3. Alternatively, build the project continuously and serve the output:
4. Alternatively, build the project continuously and serve the output:
* ```shell
npm start
```
Expand Down
Loading

0 comments on commit b3fa8ee

Please sign in to comment.