We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a2d5e commit b800f8dCopy full SHA for b800f8d
README.md
@@ -12,7 +12,7 @@ Custom hook to include a callback function for useState which was previously ava
12
13
**useStateWithCallback:**
14
15
-```
+```javascript
16
import React from 'react';
17
18
import useStateWithCallback from 'use-state-with-callback';
@@ -52,7 +52,7 @@ const App = () => {
52
53
**useStateWithCallbackLazy:**
54
55
56
57
import { useStateWithCallbackLazy } from 'use-state-with-callback';
58
0 commit comments