Skip to content

Commit

Permalink
add compat
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Sep 1, 2022
1 parent 85ede7d commit 7e095a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compat/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
} from 'preact';
import {
useState,
useId,
useReducer,
useEffect,
useLayoutEffect,
Expand Down Expand Up @@ -201,6 +202,7 @@ export {
// React copies the named exports to the default one.
export default {
useState,
useId,
useReducer,
useEffect,
useLayoutEffect,
Expand Down

0 comments on commit 7e095a5

Please sign in to comment.