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

[Rel. 1] Mutable Web. B.O.S-VM patch #180

Open
wants to merge 43 commits into
base: dev
Choose a base branch
from

Conversation

alsakhaev
Copy link

Changes:

  1. Upgrade the dependency react-singleton-hook from ^3.1.1 to ^4.0.1, due to official React 18 support
  2. Move dependency styled-components into peerDependencies, to reuse it in mutable-web-engine and near-social-vm.
  3. [+] parameter skipTxConfirmationPopup, switches off modal windows while sending transactions
  4. [+] parameter enableComponentPropsDataKey, controlling the props insertion into the HTML-attribute data-props as serialized JSON string. BosParser needs the attributes to parse Contexts.
  5. (BREAKING CHANGE) behavior change for the enableComponentSrcDataKey parameter. Now it inserts component names into HTML-attribute data-component only in the root level, not to all as before. BosParser requires these attributes for Context parsing.
  6. Bugfix: if enableComponentSrcDataKey is active, the attribute data-component got inserted into React-nodeReact.Fragment, which is not visible in HTML-tree.
    (Warning: Invalid prop data-component passed to React.Fragment. React.Fragment can only have key and child props)

@evgenykuzyakov
Copy link
Contributor

Please rebase to dev first.

@alsakhaev alsakhaev changed the base branch from master to dev April 9, 2024 20:25
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