{"repo":"kristiandupont/react-geiger","free":true,"listed":false,"github":"https://github.com/kristiandupont/react-geiger","clone":"git clone https://github.com/kristiandupont/react-geiger.git","description":"Audiolize React performance","language":"TypeScript","stars":1104,"topics":["performance","profiling","react"],"license":"MIT","category":"ui-components","readme_excerpt":"React Geiger React Geiger is a tool for \"audiolizing\" React performance issues. You can have it running in the background and makes little clicks which will point your attention to excessive (slow) component rerenders. Play with it in this playground Installation Usage You wrap whatever you want to track in the component, and re-renders inside will cause a click if they take longer than the threshold set (default: 50ms). The most basic setup is wrapping your entire app: You can also use it on a sub-tree wherever. The options are: - profilerId is an id that will be passed on to the React.Profiler component. You probably don't need to change this. - renderTimeThreshold is the time in milliseconds that will trigger a click. Default is 50ms. Set to 0 to make any re-render click - phaseOption is the phase of the render you want to track, either 'mount' , 'update' or 'both' (which is the default) - customSoundFile path to a custom sound file, if you want to use something else than the default click sound - enabled defaults to true, but you can use this to disable it. Note that it relies on React.Profiler under the hood, which is disabled in production builds per default.","default_branch":null,"files":null,"tree":[],"storefront":"/r/kristiandupont","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kristiandupont/react-geiger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}