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

fix(renderer): fix stringify #1408

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rvsia
Copy link
Contributor

@rvsia rvsia commented Sep 1, 2023

Fixes #(issue) (if applicable)

Description

Please include a summary of the change.

Schema (if applicable)

Checklist: (please see documentation page for more information)

  • Yarn build passes
  • Yarn lint passes
  • Yarn test passes
  • Test coverage for new code (if applicable)
  • Documentation update (if applicable)
  • Correct commit message
    • format fix|feat({scope}): {description}
    • i.e. fix(pf3): wizard correctly handles next button
    • fix will release a new _._.X version
    • feat will release a new _.X._ version (use when you introduce new features)
      • we want to avoid any breaking changes, please contact us, if there is no way how to avoid them
    • scope: package
    • if you update the documentation or tests, do not use this format
      • i.e. Fix button on documenation example page

@vercel
Copy link

vercel bot commented Sep 1, 2023

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

Name Status Preview Comments Updated (UTC)
react-forms ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2023 2:03pm

@DataDrivenFormsBot
Copy link

A new version (fix) will be released: v3.21.4 [DataDrivenFormsBot]

@@ -31,7 +37,7 @@ export const memoize = (func) => {
}

return (value, allValues, ...options) => {
const key = stringify(value, allValues);
const key = stringify(allValues);
Copy link
Member

Choose a reason for hiding this comment

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

We should do a try catch around the block if for some reason someone passes circular structure and the try/catch fails. Maybe with a console.error but do not crash the entire runtime.

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.

3 participants