Gathering detailed insights and metrics for formik-persist-yoyota-fork
Gathering detailed insights and metrics for formik-persist-yoyota-fork
Gathering detailed insights and metrics for formik-persist-yoyota-fork
Gathering detailed insights and metrics for formik-persist-yoyota-fork
npm install formik-persist-yoyota-fork
59.9
Supply Chain
83.5
Quality
74.6
Maintenance
100
Vulnerability
98.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
16 Commits
2 Watching
2 Branches
1 Contributors
Updated on 05 Jun 2020
Minified
Minified + Gzipped
TypeScript (73.76%)
JavaScript (26.24%)
Cumulative downloads
Total Downloads
Last day
-7.1%
13
Compared to previous day
Last week
-32.7%
70
Compared to previous week
Last month
350%
306
Compared to previous month
Last year
-34.8%
894
Compared to previous year
2
28
Persist and rehydrate a Formik form.
npm install formik-persist --save
Just import the <Persist >
component and put it inside any Formik form. It renders null
!
1import React from 'react' 2import { Formik, Field, Form } from 'formik' 3import { Persist } from 'formik-persist' 4 5export const Signup = () => 6 <div> 7 <h1>My Cool Persisted Form</h1> 8 <Formik 9 onSubmit={values => console.log(values)} 10 initialValues={{ firstName: '', lastName: '', email: '' }} 11 render={props => 12 <Form className="whatever"> 13 <Field name="firstName" placeholder="First Name" /> 14 <Field name="lastName" placeholder="Last Name" /> 15 <Field name="email" type="email" placeholder="Email Address" /> 16 <button type="submit">Submit</button> 17 <Persist name="signup-form" /> 18 </Form>} 19 /> 20 </div>;
Only three props!
name: string
: LocalStorage key to save form state todebounce:? number
: Default is 300
. Number of ms to debounce the function that saves form state.isSessionStorage:? boolean
: default is false
. Send if you want Session storage inplace of Local storageNo vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
58 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More