![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.
tslint-react
Advanced tools
Lint rules related to React & JSX for TSLint.
Sample configuration where tslint.json
lives adjacent to your node_modules
folder:
{
"extends": "tslint:latest",
"rulesDirectory": [
"./node_modules/tslint-react/rules"
],
"rules": {
// enable tslint-react rules here
"jsx-no-lambda": true
}
}
jsx-no-lambda
function
syntax or ES2015 arrow syntax) inside the render
call stack works against pure component rendering. When doing an equality check between two lambdas, React will always consider them unequal values and force the component to re-render more often than necessary.jsx-no-string-ref
ref
prop of React elements is considered a legacy feature and will soon be deprecated.
Instead, use a callback.We track rule suggestions on Github issues -- here's a useful link to view all the current suggestions. Tickets are roughly triaged by priority (P1, P2, P3).
We're happy to accept PRs for new rules, especially those marked as Status: Accepting PRs. If submitting a PR, try to follow the same style conventions as the core TSLint project.
FAQs
Lint rules related to React & JSX for TSLint
The npm package tslint-react receives a total of 113,535 weekly downloads. As such, tslint-react popularity was classified as popular.
We found that tslint-react 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.