chore (@nhost/react): add react 19 as peer dependency (#3161)

### **User description**
Resolves #3160


___

### **PR Type**
Enhancement


___

### **Description**
- Add React 19 as peer dependency

- Update peerDependencies in package.json

- Include changeset for version bump


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>stale-knives-begin.md</strong><dd><code>Add changeset
for React 19 support</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.changeset/stale-knives-begin.md

<li>Add new changeset file<br> <li> Specify minor version bump for
@nhost/react<br> <li> Include change description


</details>


  </td>
<td><a
href="https://github.com/nhost/nhost/pull/3161/files#diff-f5b29ce9aaad177dc29520dbcfc3ec4faf565d2c57190ebc9c8694916bfe4438">+5/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>package.json</strong><dd><code>Update peerDependencies
to include React 19</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

packages/react/package.json

<li>Update peerDependencies for react and react-dom<br> <li> Add support
for React 19.0.0


</details>


  </td>
<td><a
href="https://github.com/nhost/nhost/pull/3161/files#diff-1f344ac391eeecc21ec0f01fb07430a47f4b80d20485c125447d54c33c4bbfc4">+2/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
This commit is contained in:
David BM
2025-01-28 11:27:13 -05:00
committed by GitHub
parent d8747139ab
commit cb632337f9
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'@nhost/react': minor
---
chore: add react 19 as peer dependency

View File

@@ -74,7 +74,7 @@
"react": "^18.2.0"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.1.0",
"react-dom": "^17.0.0 || ^18.1.0"
"react": "^17.0.0 || ^18.1.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.1.0 || ^19.0.0"
}
}