
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
@doctolib/react-autoresize-table
Advanced tools
Autoresize table for React.
npm install @doctolib/react-autoresize-table
React.createClass({
getInitialState() {
return {nbRows: 1};
},
renderRows() {
range(this.state.nbRows)
.map(index => (
<tr key={index}>
<td>{index}</td>
<th>Name #{index}</th>
</tr>
));
},
onNbVisibleRowsChange(nbRows) {
this.setState({nbRows});
},
render() {
return (
<AutoresizeTable onNbVisibleRowsChange={this.onNbVisibleRowsChange}>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
</tr>
</thead>
<tbody>{this.renderRows()}</tbody>
</table>
</AutoresizeTable>
}
})
A DOM element that will be used as a container. Defaults to parentElement. If your parent is not in relative position, you can use container to specify a custom container.
<AutoresizeTable container={document}/>
The minimal row displayed in the table. Defaults to 1.
<AutoresizeTable minRowsDisplayed={4}/>
Called when the number of visible rows changes.
<AutoresizeTable onNbVisibleRowsChange={nbRows => this.setState({nbRows})}/>
The height of rows. By default it will try to get the height of the first row of your table tbody element.
<AutoresizeTable rowHeight={20}/>
MIT
FAQs
Autoresize table for React.
The npm package @doctolib/react-autoresize-table receives a total of 2 weekly downloads. As such, @doctolib/react-autoresize-table popularity was classified as not popular.
We found that @doctolib/react-autoresize-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.