Skip to content

Commit 16d1c11

Browse files
committed
Replace microbundler with webpack in qrlibrary/react.
1 parent 2f40049 commit 16d1c11

File tree

6 files changed

+500
-101
lines changed

6 files changed

+500
-101
lines changed

app/package-lock.json

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/App.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import pkg from '../package.json';
55

66
function App() {
77
const [text, setText] = useState("Hello from react!");
8-
const debouncedSetText = useCallback(() => debounce(setText, 2000)(), []);
8+
const debouncedSetText = useCallback(debounce(setText, 2000), []);
99

1010
const basePath = pkg.homepage
1111
? new URL(pkg.homepage).pathname

0 commit comments

Comments
 (0)