Moved code into src folder. Added build for component library.
This commit is contained in:
1 parent
7a7233ead4
commit
ede658771e
490 files changed
+749
-442
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
export function useForceUpdate() {
|
||||
const [, update] = useState(Object.create(null));
|
||||
|
||||
return useCallback(() => {
|
||||
update(Object.create(null));
|
||||
}, [update]);
|
||||
}
|
||||
|
||||
export default useForceUpdate;
|
||||
Reference in new issue
Block a user