"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useRerender = void 0;
const react_1 = require("react");
const useRerender = () => {
    const [_count, setCount] = (0, react_1.useState)(0);
    return (0, react_1.useCallback)(() => {
        setCount((count) => count + 1);
    }, []);
};
exports.useRerender = useRerender;
