1.1.4 • Published 5 years ago
react-rent v1.1.4
react-rent
A stupid hook that shows how many time your component renders.
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;
1.1.4
5 years ago
1.1.3
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.1.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.2.0
5 years ago
0.1.8
5 years ago
0.1.9
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago