Skip to content

v3.3.0

Compare
Choose a tag to compare
@dc7290 dc7290 released this 19 Jan 05:54
· 10 commits to master since this release
f538ab9

New Future Hooks

A new useModal hook has been released.
Instead of returning a modal component constructed with a div element as before, it returns a modal component constructed with a dialog element.
Please note that the usage is almost the same, but some unnecessary options have been removed.

import { useModal } from 'react-hooks-use-modal/future'

const [Modal, open, close, isOpen] = useModal();

Features

What's Changed

New Contributors

Full Changelog: v3.2.0...v3.3.0