Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
react-data-grid-temp
Advanced tools
Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
npm install react-data-grid
react-data-grid is published as ES2020 modules, you'll probably want to transpile those down to scripts for the browsers you target using Babel and browserslist.
last 2 chrome versions
last 2 edge versions
last 2 firefox versions
last 2 safari versions
See documentation
{
"presets": [
["@babel/env", {
"bugfixes": true,
"shippedProposals": true,
"corejs": 3,
"useBuiltIns": "entry"
}]
]
}
See documentation
babel.config.*
instead of .babelrc.*
, otherwise Babel might not transpile modules under node_modules
.import 'core-js/stable';
env
preset, if configured correctly, will transform this import so only the necessary polyfills are included in your bundle.ResizeObserver
API is required for older browsers.babel-plugin-optimize-clsx
plugin.{
// ...
module: {
rules: {
test: /\.js$/,
exclude: /node_modules[/\\](?!react-data-grid[/\\]lib)/,
use: 'babel-loader'
}
}
}
See documentation
{
// ...
plugins: {
babel({
include: [
'./src/**/*',
'./node_modules/react-data-grid/lib/**/*'
]
})
}
}
See documentation
import DataGrid from 'react-data-grid';
import 'react-data-grid/dist/react-data-grid.css';
const columns = [
{ key: 'id', name: 'ID' },
{ key: 'title', name: 'Title' }
];
const rows = [
{ id: 0, title: 'Example' },
{ id: 1, title: 'Demo' }
];
function App() {
return (
<DataGrid
columns={columns}
rows={rows}
/>
);
}
FAQs
Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
The npm package react-data-grid-temp receives a total of 4 weekly downloads. As such, react-data-grid-temp popularity was classified as not popular.
We found that react-data-grid-temp 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.