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

Feature: Core Improvement Beta 27 #17

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

wpdas
Copy link
Owner

@wpdas wpdas commented Apr 23, 2024

  • extractSpreadsFromJSX removed. Its functionality is now part of extractPropsFromJSX;
  • Added plugin (stateless_renamePropsTo__props__) to the cache system that changes any global property with name props from stateless components to __props__
    to prevent the parent widget property from being overwritten, thus correcting the conflict of
    properties that use the name props;
  • Fixed the problem where when compiling Widgets, they received spreads more than once in their props.

@wpdas wpdas merged commit 74bb9ff into main Apr 23, 2024
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.

1 participant