Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

react-rent

Package Overview
Dependencies
6
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-rent

A stupid hook that shows how many time your component renders.


Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-rent

A stupid hook that shows how many time your component renders.

bundle size npm downloads npm version license

Installation
# NPM
$ npm install react-rent --save-dev

# Yarn
$ yarn add react-rent --dev
Usage
import React from "react";
import { useRent } from "react-rent";

const AwesomeComponent = () => {
  useRent(); // component rendered 1 time/s.

  return (
    <div className="App">
      <p>Hello world!</p>
    </div>
  );
};

export default AwesomeComponent;

Keywords

FAQs

Last updated on 26 May 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc