Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
react-perf-tool
Advanced tools
ReactPerfTool tries to give you a more visual way of debugging performance of your React application. It does this by using the addons delivered by the React team and community to get measurements and visualize this using graphs. This makes it easier to spot bottlenecks.
npm i react-perf-tool react-addons-perf -D
import ReactPerfTool from 'react-perf-tool';
import Perf from 'react-addons-perf';
// Import styles if they don't get loaded already
import 'react-perf-tool/lib/styles.css';
export default function YourApp(props) {
return (<div className="your-app">
{/*...yourApp */}
<ReactPerfTool perf={Perf} />
</div>);
}
If you want to contribute just fork the project and start working on one of the open issues or on your own ideas. When you are done you can open a pull request.
The project uses a trimmed down version of the Airbnb Javascript styleguide, and can be checked by running:
npm run lint
For testing the project uses Mocha and Chai. For testing of components the project uses Enzyme.
npm run build
- produces production buildnpm run dev
- start webpack watchnpm run test
- runs the tests and lints
npm run lint
- lints all the codenpm run test:unit
- run only the unit testsnpm run test:component
- run only the component testsFAQs
Record and debug React performance from the browser
The npm package react-perf-tool receives a total of 14 weekly downloads. As such, react-perf-tool popularity was classified as not popular.
We found that react-perf-tool 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.