r3f-performance 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  **[Changelog](https://github.com/anhldh/r3f-performace/blob/main/CHANGELOG.md)**
4
4
 
5
- A lightweight and easy-to-use tool to monitor the performance of your
5
+ A easily tool to monitor the performance of your
6
6
  [@react-three/fiber](https://github.com/pmndrs/react-three-fiber) application.
7
7
 
8
8
  <table>
9
9
  <tr>
10
- <td>Add the <code>&lt;PerformanceMonitor /&gt;</code> component anywhere in your R3F Canvas.</td>
10
+ <td>Add the <code>&lt;PerfMonitor /&gt;</code> component anywhere in your R3F Canvas.</td>
11
11
  <td>
12
12
  <a href="https://codesandbox.io/p/sandbox/3sqpy4">
13
13
  <img src="https://bf3xu0otcy.ufs.sh/f/lSBP1EY5xRSnLHNlxKuvoRAdugXS39mBlIzpHEcwjKqeLFNJ" /></td>
@@ -77,12 +77,12 @@ position?: Sets the position of the panel. Options: 'top-right', 'top-left', 'bo
77
77
 
78
78
  ```jsx
79
79
  import { Canvas } from "@react-three/fiber";
80
- import { PerformanceMonitor } from "r3f-performance";
80
+ import { PerfMonitor } from "r3f-performance";
81
81
 
82
82
  function App() {
83
83
  return (
84
84
  <Canvas>
85
- <PerformanceMonitor />
85
+ <PerfMonitor />
86
86
  </Canvas>
87
87
  );
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "r3f-performance",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "license": "MIT",
5
5
  "description": "A performance monitor for React Three Fiber. Track FPS, draw calls, memory, and GPU usage.",
6
6
  "repository": {