
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-gridstack
Advanced tools
Wrapper library for GridStack.
npm install react-gridstack
To use this package in the browser, clone this repo and run gulp build. Then,
copy the react-gridstack.min.js and react-gridstack.min.css files from the
dist directory and include them in your html head. Note that this files
include jQuery, jQuery-UI and lodash.
import React from 'react'
import { GridStack, GridStackItem } from 'react-gridstack'
class MyGrid extends React.Component {
render () {
<GridStack cellHeight={50} verticalMargin={10}>
<GridStackItem id="item_1" x={0} y={0} minHeight={2} minWidth={2}>
First Item
</GridStackItem>
<GridStackItem id="item_2" x={0} y={2}>
Second Item
</GridStackItem>
</GridStack>
}
}
Make sure to include the css file in your bundle.
Aside from all the (options)[https://github.com/troolee/gridstack.js/tree/master/doc] accepted by gridstack.js, the following props can be also passed to the components.
true or false to indicate if the element should be re-rendered. Very
similar in function to shouldComponentUpdate from react.See anything missing? Fork, implement and submit a pull request.
See the license file.
FAQs
React wrapper for gridstack.js
The npm package react-gridstack receives a total of 131 weekly downloads. As such, react-gridstack popularity was classified as not popular.
We found that react-gridstack 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.