![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
ciqu-react-calendar
Advanced tools
[![npm package](https://img.shields.io/npm/v/ciqu-react-calendar.svg?style=flat-square)](https://www.npmjs.org/package/ciqu-react-calendar) [![Dependency Status](https://gemnasium.com/badges/github.com/ciqulover/react-calendar.svg)](https://gemnasium.com/
npm install ciqu-react-calendar --save
import React from 'react'
import ReactDom from 'react-dom'
import moment from 'moment'
import Calendar from 'ciqu-react-calendar'
class MyCalendar extends React.Component {
constructor(props) {
super(props)
}
onChange = (value: moment.Moment, inputValue: string) => {
console.log(value.format('YYYY-MM-DD'))
this.setState({value})
}
onOpenChange = (status?: boolean) => {
console.log('open status: ' + status)
}
disabledDate = (currentDate: moment.Moment, inputValue: string) => {
return false
}
render() {
const {onChange, onOpenChange, disabledDate} = this
return <div style={{
width: 400,
margin: '200px auto'
}}>
<Calender
onChange={onChange}
allowClear={true}
disabled={false}
placeholder={'please input date'}
format={'YYYY-MM-DD'}
defaultValue={moment()}
onOpenChange={onOpenChange}
disabledDate={disabledDate}
/>
</div>
}
}
ReactDom.render(
<MyCalendar/>,
document.getElementById('el')
)
interface CalendarProps {
// when input value changes, this callback will be called, default null
onChange?(value?: Moment, inputValue?: string): void
// fired when date picker show or hide, default null
onOpenChange?(status?: boolean): void
// when returned true the date cannot be picked, default null
disabledDate?(currentDate: Moment, inputValue: string): boolean
// allow to clear the picked date, default true
allowClear?: boolean
// if true, the date picker is disabled, default false
disabled?: boolean
// control whether the date picker shows or hides, default false
open?: boolean,
placeholder?: string
// moment format string, default 'YYYY-MM-DD'
format?: string
className?: string
// value under control, default moment()
value?: Moment
defaultValue?: Moment
}
MIT
FAQs
[![npm package](https://img.shields.io/npm/v/ciqu-react-calendar.svg?style=flat)](https://www.npmjs.org/package/ciqu-react-calendar) [![Dependency Status](https://gemnasium.com/badges/github.com/ciqulover/react-calendar.svg)](https://gemnasium.com/github.
The npm package ciqu-react-calendar receives a total of 29 weekly downloads. As such, ciqu-react-calendar popularity was classified as not popular.
We found that ciqu-react-calendar demonstrated a not healthy version release cadence and project activity because the last version was released 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.