Rooks

useWhyDidYouUpdate

About

A hook that can track which value change caused a rerender

Examples

import {useWhyDidYouUpdate} from "rooks"
export default function App() {
  useWhyDidYouUpdate();
  return null
}

On this page