Skip to content

Conversation

@ra1028
Copy link
Owner

@ra1028 ra1028 commented Sep 4, 2022

Pull Request Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Chore

Description

  • Add snapshot() function to AtomViewContext.
  • Fix minor bugs of restore function.

Motivation and Context

Currently, Snapshot can only be obtained through AtomRoot|AtomRelay/observe(_:) so this functionality allows users to get Snapshot on-demand through AtomViewContext.

@ra1028 ra1028 merged commit ff4dfd4 into main Sep 4, 2022
@ra1028 ra1028 deleted the feat/on-demand-snapshot branch September 4, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants