Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌟 feat: add useTransitionGroup hook #7

Closed
iamyoki opened this issue Dec 27, 2021 · 2 comments · Fixed by #8
Closed

🌟 feat: add useTransitionGroup hook #7

iamyoki opened this issue Dec 27, 2021 · 2 comments · Fixed by #8
Assignees
Labels

Comments

@iamyoki
Copy link
Owner

iamyoki commented Dec 27, 2021

Draft of use case

export function App() {
  const [list, setList] = useState([1, 2, 3])
  const transitionGroup = useTransitionGroup(list, {timeout: 300})

  return (
    <div>
      {transitionGroup((item, stage) => (
        <h1 style={...}>{item}</h1>
      ))}
    </div>
  )
}
@github-actions
Copy link

🎉 This issue has been resolved in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

iamyoki added a commit that referenced this issue Dec 30, 2021
github-actions bot pushed a commit that referenced this issue Dec 30, 2021
## [1.5.0](v1.4.0...v1.5.0) (2021-12-30)

### Features

* add ListTransition, close [#7](#7) ([e5f77b1](e5f77b1))
* export ListTransition ([1801781](1801781))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

1 participant