![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.
@clef/jql-query-retention
Advanced tools
A better Mixpanel retention query, written in JQL. This query let's you:
To use, require the query and pass it the MP.api.jql
function.
import RetentionQuery from '@clef/jql-query-retention'
MP.api.jql(
RetentionQuery,
{
fromDate: moment().subtract(20, 'days').toDate(),
toDate: moment().toDate(),
startEvents: [ { name: 'Your Start Event' } ],
retentionEvents: [ { name: 'Your Retention Event' } ],
retentionInterval: 8640000 // one day,
retentionBuckets: [0, 1, 7, 4, 30]
}
).done((results) => {
console.log(results)
})
You can see detailed explanations of all params below.
A series of events which together are the entrance condition. A user must complete ALL of these events to be counted as a member of the group we are measureing retention for. In other words, they must do EventA AND EventB.
A set of events of which any can count sa the retention condition. A user must complete ANY of these events to be counted as retained on a given interval. In other words, they must do EventA OR EventB.
The interval within which a user must complete an action to be counted as retained. For instance, a retention interval of 1 day (8640000) means a user must complete one of the retentionEvents in a 1 day interval to be counted as retained.
The number of intervals after the fromDate on which to measure retention. For instance, if you have an interval of 1 day and retention buckets of [0, 1, 7, 14, 30], this will return the retention for D0, D1, D7, D14, and D30.
Whether the retention should be calculated as Rolling or Classic retention.
FAQs
A better Mixpanel retention query, written in JQL
We found that @clef/jql-query-retention 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.