isomorphic-performance
Version:
Isomorphic Performance API for Node, Browser & React Native
22 lines (13 loc) • 399 B
Markdown
# Isomorphic Performance
Isomorphic Performance API for Node, Browser & React Native. Useful if your app targets both web and native.
## Installation
```bash
yarn add react-native-performance isomorphic-performance
```
## Usage
```js
import { performance, PerformanceObserver } from 'isomorphic-performance';
performance.mark('myMark');
```
## License
MIT © Joel Arvidsson 2021 – present