
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
buck3000-react-infinite-calendar-fork
Advanced tools
Infinite scrolling date-picker built with React, with localization, themes, keyboard support, and more.
Overview
This project is a fork of the original React Infinite Calendar, upgraded to support React 18, including functional components, hooks, improved performance, and updated dependencies.
Features
Supports React 18 – Leveraging latest React features and performance improvements
Functional Components and Hooks – Cleaner and more maintainable code
Flexible Date Handling – Min/max date constraints, disabled dates, and disabled days
Extensible – Supports date range-selection, multiple date selection, or custom higher-order components
Localization and Internationalization – Easily adapt the calendar to different languages and locales
Customizable Themes – Extensive theming capabilities to match your application's design
Year Selection – Quickly navigate through years
Keyboard Accessibility – Fully accessible via keyboard navigation
Comprehensive Event System – Callbacks for selections, scrolling events, and more
Mobile-Friendly – Optimized for smooth performance on mobile devices
Installation
To install dependencies, run:
npm install
yarn install
Usage
To use the Infinite Calendar component:
import React from 'react'; import { createRoot } from 'react-dom/client'; import InfiniteCalendar from 'react-infinite-calendar'; import 'react-infinite-calendar/styles.css';
const container = document.getElementById('app'); const root = createRoot(container);
root.render( <React.StrictMode> <InfiniteCalendar width={Math.min(window.innerWidth, 400)} /> </React.StrictMode> );
Testing Locally
Start the local development server:
npm run start
yarn start
The demo will be available at http://localhost:3000.
Running Tests
Execute the test suite with:
npm run test
yarn test
API Changes
Hooks-Based API
Transitioned entirely to React Hooks (useState, useEffect, useRef, useCallback).
Minimal API changes; ensure compatibility with React 18 in parent projects.
ESLint Improvements
Integrated react-hooks ESLint plugin for best practices enforcement.
Updated Dependencies
React and ReactDOM upgraded to ^18.3.1
date-fns upgraded to ^4.1.0
react-transition-group upgraded to ^4.4.5
Contributing
We welcome contributions! Submit clearly documented pull requests or bug reports.
License
MIT License
FAQs
Infinite scrolling date-picker built with React, with localization, themes, keyboard support, and more.
The npm package buck3000-react-infinite-calendar-fork receives a total of 26 weekly downloads. As such, buck3000-react-infinite-calendar-fork popularity was classified as not popular.
We found that buck3000-react-infinite-calendar-fork demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.