Skip to content

Commit

Permalink
fix(react): improve React 19 compatibility by using JSX transform ins…
Browse files Browse the repository at this point in the history
…tead #5846 (#5848)
  • Loading branch information
nperez0111 authored Nov 20, 2024
1 parent f2a1817 commit 5eee480
Show file tree
Hide file tree
Showing 8 changed files with 2,379 additions and 2,041 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-kings-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tiptap/react": patch
---

React 19 changes how refs works, it will double mount them, all that we needed to do though was to use the JSX transform instead of createElement directly #5846
38 changes: 19 additions & 19 deletions demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,41 @@
},
"dependencies": {
"@hocuspocus/provider": "2.13.5",
"@lexical/react": "^0.11.1",
"@lexical/react": "^0.11.3",
"@shikijs/core": "1.10.3",
"d3": "^7.3.0",
"fast-glob": "^3.2.11",
"d3": "^7.9.0",
"fast-glob": "^3.3.2",
"highlight.js": "^11.10.0",
"lexical": "^0.11.1",
"lexical": "^0.11.3",
"lowlight": "^3.1.0",
"remixicon": "^2.5.0",
"shiki": "^1.10.3",
"shiki": "^1.23.1",
"simplify-js": "^1.2.4",
"y-prosemirror": "1.2.11",
"y-webrtc": "^10.3.0",
"yjs": "13.6.18"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@sveltejs/vite-plugin-svelte": "3.1.2",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^1.3.2",
"@vitejs/plugin-vue": "^5.0.0",
"autoprefixer": "^10.4.2",
"@vitejs/plugin-vue": "^5.2.0",
"autoprefixer": "^10.4.20",
"esbuild": "0.21.5",
"iframe-resizer": "^4.3.2",
"postcss": "^8.4.31",
"iframe-resizer": "^4.4.5",
"postcss": "^8.4.49",
"postcss-import": "^15.1.0",
"prosemirror-dev-tools": "^4.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"sass": "^1.49.7",
"prosemirror-dev-tools": "^4.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.81.0",
"svelte": "^4.2.19",
"tailwindcss": "^3.3.2",
"typescript": "^5.4.5",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"uuid": "^8.3.2",
"vite": "^5.4.6",
"vite": "^5.4.11",
"vite-plugin-checker": "^0.6.4",
"vue": "^3.0.0",
"vue-router": "^4.0.11"
"vue": "^3.5.13",
"vue-router": "^4.4.5"
}
}
Loading

0 comments on commit 5eee480

Please sign in to comment.