fix(deps): update dependency @vitejs/plugin-react to v4.3.1#11013
Merged
renovate[bot] merged 1 commit intomainfrom Jul 20, 2024
Merged
fix(deps): update dependency @vitejs/plugin-react to v4.3.1#11013renovate[bot] merged 1 commit intomainfrom
renovate[bot] merged 1 commit intomainfrom
Conversation
dac09
added a commit
to dac09/redwood
that referenced
this pull request
Jul 21, 2024
…-dual-pkg * 'main' of github.com:redwoodjs/redwood: (74 commits) chore(deps): Remove webpack related packages (redwoodjs#11028) fix(deps): update dependency pino to v9 (redwoodjs#11030) fix(deps): update dependency lru-cache to v11 (redwoodjs#11029) fix(deps): update dependency @sdl-codegen/node to v1 (redwoodjs#11027) chore(deps): update yarn to v4.3.1 (redwoodjs#11026) chore(deps): update dependency vitest to v2 (redwoodjs#11021) fix(deps): update dependency @react-email/render to v0.0.16 (redwoodjs#11025) chore(deps): update dependency rimraf to v6 (redwoodjs#11024) chore(deps): update dependency make-dir-cli to v4 (redwoodjs#11023) chore(deps): update dependency glob to v11 (redwoodjs#11022) chore(deps): update dependency type-fest to v4 (redwoodjs#11020) fix(deps): update dependency @whatwg-node/fetch to v0.9.18 (redwoodjs#11016) chore(deps): update dependency @supabase/ssr to v0.4.0 (redwoodjs#11017) fix(deps): update dependency @joshwooding/vite-plugin-react-docgen-typescript to v0.4.0 (redwoodjs#11018) fix(deps): update dependency esbuild to v0.23.0 (redwoodjs#11015) fix(deps): update dependency @swc/core to v1.7.0 (redwoodjs#11012) chore(storybook): Pin versions and update them (redwoodjs#11011) fix(deps): update dependency eslint-plugin-prettier to v5.2.1 (redwoodjs#11010) fix(deps): update dependency @vitejs/plugin-react to v4.3.1 (redwoodjs#11013) fix(deps): update dependency graphql-yoga to v5.6.1 (redwoodjs#11007) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.2.1->4.3.1Release Notes
vitejs/vite-plugin-react (@vitejs/plugin-react)
v4.3.1Compare Source
Fix support for React Compiler with React 18
The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a custom
runtimeModule: https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43When using a custom
runtimeModule, the plugin will not try to pre-optimizereact/compiler-runtimedependency.Reminder: Vite expect code outside of
node_modulesto be ESM, so you will need to update the gist withimport React from 'react'.v4.3.0Compare Source
Fix support for React compiler
Don't set
retainLines: truewhen the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:Support HMR for class components
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.