Skip to content

Commit

Permalink
release: 0.2.34
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jun 5, 2024
1 parent 2249cfc commit 1b1e804
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# 0.2.34

**Core Changes**

- Add `useMediaQuery`
- `useCompositionInput` now supports `<textarea />`

```tsx
export const Example2 = () => {
const textareaProps = useCompositionInput<HTMLTextAreaElement>(useCallback((value: string) => {
// Do something with the value
}, []));

return (
<textarea
{...textareaProps}
// useCompositionInput is uncontrolled, so you might need to provide defaultValue
defaultValue={defaultValue}
/>
);
}
```

# 0.2.33

**Core Changes**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foxact",
"version": "0.2.33",
"version": "0.2.34",
"private": true,
"description": "React Hooks/Utils done right. For browser, SSR, and React Server Components.",
"homepage": "https://foxact.skk.moe",
Expand Down

0 comments on commit 1b1e804

Please sign in to comment.