Write formik in plain js
See original GitHub issueHey,
Is it possible to write formik in regular js
instead of typescript and keep typings in a separate folder/file/library?
It’s really hard to read the codebase and contribute when you don’t know typescript. There are a lot of any
typings, probably half - this kinda kills the purpose of strong types.
Currently, typescript adds to formik:
cons
- useful only for devs, who use TS
- hard to read and contribute for regular users
- requires more time to support types
- pollutes codebase
- almost half of typings are
any
pros
- helps TS devs to make few errors (not really helpful due to
any
typings) - makes TS devs happy to see project written in TS
- ?
This reminds the situation with coffescript
- very hard to contribute, only for devs who know it. It’ll be really great to have formik in plain js
, is it possible?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Tutorial - Formik
Welcome to the Formik tutorial. This will teach you everything you need to know to build simple and complex forms in React. If...
Read more >Simple structure to write forms in React with Formik
I wanted to share how I use Formik to write forms in my react code. I expect you've already heard and tried Formik...
Read more >Building forms with Formik in React - LogRocket Blog
Building forms with React requires you to write every part of the ... This function prop is quite similar to onsubmit in vanilla...
Read more >React Form Validation with Formik and Yup | by Paul Nasilele
Step 4: Create a folder called components inside the /src folder of your app project. Inside the components folder, create a file called...
Read more >Formik: React forms made easier - Medium
During my jorney writing React apps, every time I had to include a form, I used to do it using vanilla React, without...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fun to read this 2 years on 😃
@jaredpalmer Please, keep on using Typescript.
Somehow, it makes me laugh (no offence, not targeted to any particular person in this thread) this conversation exists here, or any other place.
I disagree typings are deal breakers for contributors. Even junior members in our teams have no problem with understanding Flow typings at all.
Biggest strength of static type checkers is discovering issues without running code, so as long I/you/we discover those with TS/Flow, we should keep on using them. Removing TS would be definitely step back.
Waiting for Reason to gain more traction 😎