You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
273 B
JavaScript

'use client';
import * as React from 'react';
/**
* @ignore - internal hook.
*/
export function useForcedRerendering() {
var _React$useState = React.useState({}),
setState = _React$useState[1];
return React.useCallback(function () {
setState({});
}, []);
}