1.1.4 • Published 4 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
4 years ago
1.1.3
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.1.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.2.0
4 years ago
0.1.8
4 years ago
0.1.9
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago