Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-tree-es6
Advanced tools
Changelog
Readme
If you want to find a tree view component for React, this module is what you need.
It ONLY supports ES6 and above. Read https://hckhanh.github.io/react-tree-es6 for more details.
npm install --save react-tree-es6
const CORE = {
data: [
'Simple root node',
{
text: 'Root node 2',
state: {
opened: true,
selected: true
},
children: [
{
text: 'Child 1'
},
'Child 2'
]
}
]
};
class ExampleApp extends React.Component {
constructor(props) {
super(props);
this.state = { items: [] };
this.handleOnChanged = this.handleOnChanged.bind(this);
}
handleOnChanged(changedItems) {
this.setState({
items: changedItems.map(item => item.text).join(', ')
});
}
render() {
return (
<div>
<ReactTree core={CORE} onChanged={this.handleOnChanged} />
<div>Selected items: {this.state.items}</div>
</div>
);
}
}
MIT
FAQs
The wrapper of jsTree (jstree.com) for React
The npm package react-tree-es6 receives a total of 2 weekly downloads. As such, react-tree-es6 popularity was classified as not popular.
We found that react-tree-es6 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.