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(lens): support circular references in parseAtoms #849

Open
wants to merge 3 commits into
base: v3
Choose a base branch
from

Conversation

krulod
Copy link
Collaborator

@krulod krulod commented May 22, 2024

No description provided.

@krulod krulod linked an issue May 22, 2024 that may be closed by this pull request
Copy link

stackblitz bot commented May 22, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reatom ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 26, 2024 1:49pm

@@ -151,4 +151,18 @@ test('should parse deep structures', () => {
;`👍` //?
})

test('circular references', () => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test has no "circular references" 🧐
Please, write test for the caching which you added. For example, you can use for "a" and "b" the same atom with an object and check that a snapshot contains equal references in "a" and "b".

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.

lens: parseAtoms cache
2 participants