Comments (3)
A minor wrinkle in just using the submitter parameter comes on the testing side; jest-environment-jsdom still wants jsdom@^20.0.0
, but submitter support in jsdom requires at least 22.1.0
. While jest can generally work with a newer pinned jsdom (e.g. see jestjs/jest#13825 (comment)), depending on how tests are using jsdom some changes may be needed (e.g. see remix-run/react-router#10453)
from react.
<>
console.log(new URLSearchParams(formData).toString())}> VanillaCould you specify for which browser this piece of code is not working
from react.
Could you specify for which browser this piece of code is not working
It doesn't work correctly in Chrome or Firefox, because React does not properly populate the the FormData object when the submitter is an Image Button. It "works" in Safari, but that's due to a browser bug.
from react.
Related Issues (20)
- [Compiler Bug]: Can't handle identifiers that refer to both type and value HOT 2
- [React 19] precedence prop is not respected when used on style element HOT 6
- [Compiler Bug]: Usage of `in` operator is reported as a syntax error HOT 3
- Ok I understand, thanks again
- No good alternative once this happens "Support for defaultProps will be removed from function components in a future major release" HOT 4
- Bug: Nested lazy components cause rerendering HOT 2
- [Compiler Bug]: Invalid drop of memoization for string template literals HOT 1
- [React 19] Allow access of default error callbacks in `onCaughtError` and `onUncaughtError` HOT 2
- [Compiler Bug]: Can't handle Dynamic JavaScript Object Keys HOT 3
- Bug: useEffect runs before DOM changes are painted HOT 5
- [React 19] React 19 runs extra effects when elements are reordered
- [Compiler Bug]: object's get syntax is missing after compilation. HOT 3
- [Compiler Bug]: useMemo returns a result that contains a ref that needs to be declared as a dependency
- [DevTools Bug]: version 5.2.0 icon opien in editor cannot click , color is gray
- Bug: Web worker constructor with URL argument created beforehand fails with MIME type error HOT 2
- [React 19] State dispatch get stuck during an async form action (bug?) HOT 3
- compiler feature request: report error on reassigning a const HOT 1
- [React 19] HOT 1
- [DevTools Bug] Cannot add node "1" because a node with that id is already in the Store. HOT 1
- Bug: Exported ReactDom.version differs from installed one
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.