xurei / react-jotform-embed Goto Github PK
View Code? Open in Web Editor NEWA rewrite for React of the embedded iframe provided by JotForm https://www.jotform.com/
License: MIT License
A rewrite for React of the embedded iframe provided by JotForm https://www.jotform.com/
License: MIT License
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0" from [email protected]
Hi,
On using this the following warning appears:
Warning: A string ref, "iframe", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead
Please advise. Thank you!
"react": "18.0.0",
"next": "12.1.5",
"react-jotform-embed": "^1.1.2",
The loading="lazy" attribute should be supported for the iframe to improve page load speed.
Seem to be getting this message when using react-jotform-embed v1.1.3 with react v18.2.0
Please update the following components: JotformEmbed
at JotformEmbed (\react-jotform-embed\lib\cjs\react-jotform-embed.js:84:5)
at div
at \react-bootstrap\cjs\Col.js:72:8
at div
at \react-bootstrap\cjs\Row.js:22:3
at div
at \react-bootstrap\cjs\Container.js:24:3
at section
at Contact
at main
at div
at SSRProvider (@react-aria\ssr\dist\main.js:33:13)
at Layout (webpack-internal:///./src/components/Layout.js:31:32)
at App (webpack-internal:///./src/pages/_app.js:33:16)
at StyleRegistry (\styled-jsx\dist\stylesheet-registry.js:231:34)
at AppContainer (\next\dist\server\render.js:390:29)
at AppContainerWithIsomorphicFiberStructure (\next\dist\server\render.js:420:57)
at div
at Body (\next\dist\server\render.js:688:21)
More info about componentWillMount at https://sentry.io/answers/componentWillMount-has-been-renamed/
Hi, There is a module field in package.json, but the target file is missing.
"module": "lib/module/react-jotform-embed.js",
Anybody help me please to fix this:
./node_modules/react-jotform-embed/lib/react-jotform-embed.js
Module not found: Can't resolve 'autobind-decorator' in 'D:\wamp\www\wordpress\ronnie\sprinterrentalsusa_react\node_modules\react-jotform-embed\lib'
I consider this project legacy, a newer project is here https://github.com/sbayd/jotform-react.
I have forked it and updated it with React 18 support and Typescript support, as well as fixing some bugs I was having.
https://github.com/mg-aceik/jotform-react/blob/main/lib/index.tsx
sbayd/jotform-react#6
Looking to use this, but it looks like it's dependency locked for react 15/16 only.
Used --force on install for now. Hope nothing breaks :)
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0" from [email protected]
It helps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.