
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@remigaillard/react-virtualized-sectionlist
Advanced tools
React SectionList component based in react-virtualized List
React SectionList component based in a wrapper around react-virtualized List.
This component can be usefull to display large sets of grouped data with header line between groups.
npm install react-virtualized-sectionlist --save
yarn add react-virtualized-sectionlist
This component mimic the same concepts, props and API from react-virtualized List component. If you need click here to get more info about.
In order to use this component your data need be in this format-schema:
const sections = [
{ title: 'Group 1', data: ['Item 1 of Group 1', 'Item 2 of Group 1', 'Item 3 of Group 1', ...] },
{ title: 'Group 2', data: ['Item 1 of Group 2', 'Item 2 of Group 2', 'Item 3 of Group 2', ...] },
{ title: 'Group 3', data: ['Item 1 of Group 3', 'Item 2 of Group 3', 'Item 3 of Group 3', ...] },
...
];
And to render your the SectionList:
import React, { Component } from 'react';
import SectionList from 'react-virtualized-sectionlist';
const renderHeader = ({title, sectionIndex, key, style, isScrolling, isVisible, parent}) => {
return (
<div key={key} className="list--header" style={style}>
<h4>{title}</h4>
</div>
);
};
const renderRow = ({item, sectionIndex, rowIndex, key, style, isScrolling, isVisible, parent}) => {
return (
<div key={key} className="list--item" style={style}>
<p>{item}</p>
</div>
);
};
const ROW_HEIGHT = 30;
const sections = [
{ title: 'Group 1', data: ['Item 1 of Group 1', 'Item 2 of Group 1', 'Item 3 of Group 1'] },
{ title: 'Group 2', data: ['Item 1 of Group 2', 'Item 2 of Group 2', 'Item 3 of Group 2'] },
{ title: 'Group 3', data: ['Item 1 of Group 3', 'Item 2 of Group 3', 'Item 3 of Group 3'] },
];
const MySectionList = () => {
return (
<SectionList
width={300}
height={250}
sections={sections}
sectionHeaderRenderer={renderHeader}
sectionHeaderHeight={ROW_HEIGHT}
rowHeight={ROW_HEIGHT}
rowRenderer={renderRow} />}
);
};
// before that you can use your <MySectionList /> component everywhere you need...
MIT
FAQs
React SectionList component based in react-virtualized List
We found that @remigaillard/react-virtualized-sectionlist 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
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.