Skip to content
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

Bump @types/react from 18.2.23 to 18.2.24 #599

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 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
7 changes: 3 additions & 4 deletions examples/cra-react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"dependencies": {
"@auth0/auth0-react": "file:../..",
"@types/node": "^17.0.29",
"@types/react": "^18.0.8",
"@types/react-router-dom": "^5.3.3",
"@types/react": "file:../../node_modules/@types/react",
"react": "file:../../node_modules/react",
"react-dom": "file:../../node_modules/react-dom",
"react-router-dom": "^6.3.0",
"react-router-dom": "^6.16.0",
"react-scripts": "^5.0.1",
"typescript": "^4.6.3"
"typescript": "file:../../node_modules/typescript"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ewanharris Is this something we want to keep ? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to narrow down any potential differences in the build as I can't reproduce this locally at all. I think keeping the @types/react dependency in sync is worthwhile but maybe unnecessary for typescript

},
"scripts": {
"start": "react-scripts start",
Expand Down
4 changes: 2 additions & 2 deletions examples/cra-react-router/src/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export function Users() {
</tr>
</thead>
<tbody>
{users!.map(
{users.map(
({ name, email }: { name: string; email: string }, i: number) => (
<tr key={i}>
<tr key={i.toString()}>
<td>{name}</td>
<td>{email}</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

Loading