![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.
@kiwigrid/ngx-daterangepicker
Advanced tools
This date range picker based on https://github.com/jkuri/ng-daterangepicker.
npm install ng-daterangepicker --save
or
yarn add ng-daterangepicker --save
import { NgDateRangePickerModule } from 'ng-daterangepicker';
// app.module.ts
@NgModule({
...
imports: [ ..., NgDateRangePickerModule, ... ],
...
})
export class AppModule { }
// app.component.ts
import { Component, OnInit } from '@angular/core';
import { NgDateRangePickerOptions, NgDateRangePickerOutput } from '@kiwigrid/ng-daterangepicker';
@Component({
selector: 'app-root',
templateUrl: 'app.component.html'
})
export class AppComponent {
value: NgDateRangePickerOutput;
options: NgDateRangePickerOptions;
ngOnInit() {
this.options = {
theme: 'default',
range: 'tm',
dayNames: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
presetNames: ['This Month', 'Last Month', 'This Week', 'Last Week', 'This Year', 'Last Year', 'Start', 'End'],
dateFormat: 'yMd',
startOfWeek: 1,
position: 'right'
};
this.value = {
from: 0,
to: 0
};
}
}
<!-- app.component.html -->
<ng-daterangepicker [(ngModel)]="value" [options]="options"></ng-daterangepicker>
export interface NgDateRangePickerOptions {
theme: 'default' | 'green' | 'teal' | 'cyan' | 'grape' | 'red' | 'gray';
range: 'tm' | 'lm' | 'lw' | 'tw' | 'ty' | 'ly';
dayNames: string[];
presetNames: string[];
dateFormat: string;
startOfWeek: number;
position: string;
}
git clone https://github.com/kiwigrid/ng-daterangepicker.git --depth 1
cd ng-daterangepicker
npm start
MIT
FAQs
Angular Datepicker
The npm package @kiwigrid/ngx-daterangepicker receives a total of 0 weekly downloads. As such, @kiwigrid/ngx-daterangepicker popularity was classified as not popular.
We found that @kiwigrid/ngx-daterangepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.