I am trying to use Formik inside my Preact application. I am using a CDN for everything.
Have a look at: https://codepen.io/alqamabinsadiq/pen/XQyWme?editors=0010
Here is an example of Formik CDN with react: https://codepen.io/pankajJS/pen/xeQNqO?editors=1010. I hope it will work the same with Preact as well.
Here is an example of Formik CDN with react: https://codepen.io/pankajJS/pen/xeQNqO?editors=1010. I hope it will work the same with Preact as well.
It's not working. kindly check your pen again.
It is working now.
It is working now.
Yeah I changed your code and it worked but the problem is it's not working with Preact.
I see its working
Its not working, give 404 from cdn link, any solution?
What is CDN URI??
@kumar88kanishk <script src="https://unpkg.com/formik/dist/formik.umd.production.js"></script> extracted from
Thanks @Douglasacost. Cheers!!
Cannot find "/dist/formik.umd.production.js" in [email protected]
I get this when i visit the URI @Douglasacost
https://unpkg.com/[email protected]/dist/formik.umd.production.min.js this is the correct uri but it gives me an error
connect.tsx:40 Uncaught TypeError: l is not a function
I am getting the same issue with cdn.
The URL that I have tried are:
https://unpkg.com/formik/dist/formik.umd.production.min.js
https://unpkg.com/formik/dist/formik.umd.production.js
connect.tsx:40 Uncaught TypeError: s is not a function
at x (connect.tsx:40)
at FieldArray.tsx:374
at formik.umd.production.min.js:1
at formik.umd.production.min.js:1
Most helpful comment
I am getting the same issue with cdn.
The URL that I have tried are:
https://unpkg.com/formik/dist/formik.umd.production.min.js
https://unpkg.com/formik/dist/formik.umd.production.js