formik
by
jaredpalmer

Description: Build forms in React, without the tears 😭

View on GitHub ↗

Summary Information

Updated 1 hour ago
Added to GitGenius on June 29th, 2023
Created on June 14th, 2017
Open Issues & Pull Requests: 837 (+0)
Number of forks: 2,780
Total Stargazers: 34,331 (-1)
Total Subscribers: 226 (+0)

Issue Activity (beta)

Open issues: 364
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,835 days
Stale 30+ days: 363
Stale 90+ days: 360

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (354)
  • Type: Bug (225)
  • Type: Feature Request (52)
  • Type: Question (51)
  • Type: Enhancement (37)
  • Component: Formik (36)
  • Resolution: Duplicate (24)
  • Focus: Documentation (23)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 1152.4 days
Mean response time: 1166.1 days
90th percentile: 2323.2 days
Tracked items: 160

Most active contributors

Detailed Description

Formik is a React form library written in TypeScript that simplifies form building and state management. Created by Jared Palmer and Ian White, the library addresses the complexity and boilerplate typically involved in handling forms in React applications. The project is organized as a monorepo and uses yarn as its package manager, with development workflows that include Playwright for end-to-end testing and changesets for managing release notes.

The library provides comprehensive form handling capabilities across multiple implementation patterns. Formik supports hooks-based approaches, render props, and higher-order components, giving developers flexibility in how they integrate form management into their React applications. The library also extends to React Native, enabling form handling across both web and mobile React environments. Core features include field management, controlled component handling, form state management, and schema validation support, allowing developers to build complex forms with validation logic without extensive manual state management.

Error handling and validation are central to Formik's design. The library supports custom validation logic and integrates with schema validation libraries, enabling developers to define validation rules declaratively. Field arrays provide functionality for managing dynamic form fields, a common requirement in complex forms. The library emphasizes user experience through its approach to error tracking and field-level error management.

GitGenius activity data reveals the project's maintenance patterns and community engagement. Across 160 tracked issues and pull requests, the median response latency is approximately 27,657 hours, with a mean of 27,985.6 hours. Bug reports represent the most active issue category with 66 tracked items, followed by 42 stale issues and 18 feature requests. The most active contributors tracked include Moumouls and jaredpalmer with 5 events each, and erashu212 with 4 events. The project's contributor network overlaps with major repositories including microsoft/vscode, microsoft/typescript, and rust-lang/rust, indicating its significance within the broader developer ecosystem.

The repository maintains an active contributors list documenting community involvement across various contribution types including code, documentation, bug reporting, and design work. The project follows the all-contributors specification and explicitly welcomes contributions of all kinds. Development setup requires installing Playwright for E2E testing, with instructions provided for running the test suite via yarn commands.

Formik's homepage at formik.org serves as the primary resource for getting started with the library. The project maintains a documented list of organizations and projects using Formik, demonstrating its adoption across the React community. The library is distributed under the Apache 2.0 License, making it freely available for both open source and commercial use.

formik
by
jaredpalmerjaredpalmer/formik

Repository Details

Fetching additional details & charts...