Skip to content

Commit

Permalink
Expose useState and useRef from preact
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed Jan 15, 2024
1 parent d104a08 commit 56566cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export {
} from './utils';

export { h as createElement, cloneElement } from 'preact';
export { useContext } from 'preact/hooks';
export { useContext, useState, useRef } from 'preact/hooks';
export { deepSignal } from 'deepsignal';

document.addEventListener( 'DOMContentLoaded', async () => {
Expand Down

0 comments on commit 56566cf

Please sign in to comment.