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(jsx/dom): improve compatibility with React #2553

Merged
merged 24 commits into from
Apr 30, 2024

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    8887fcd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29a8fb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    869cbc8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61c0a5b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e618c22 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1ba481 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. feat(jsx): Add hooks and utils for React compatibility

    * createRef
    * forwardRef
    * useImperativeHandle
    * useSyncExternalStore
    usualoma committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    e862c7a View commit details
    Browse the repository at this point in the history
  2. refactor(jsx): use Object.is for state comparison like React

    > If the new value you provide is identical to the current state, as determined by an Object.is comparison, React will skip re-rendering the component and its children.
    https://react.dev/reference/react/useState#setstate-caveats
    usualoma committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    1023dc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f4833a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e8b9e0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e19c54 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    58684a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0fa1406 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    343b263 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    df10997 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0c8ea12 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dab2792 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    85e6f46 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6fb5a9a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    be6d2b9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b9b080d View commit details
    Browse the repository at this point in the history
  16. chore: denoify

    usualoma committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    c100042 View commit details
    Browse the repository at this point in the history
  17. test(jsx): add tests

    usualoma committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    4215e02 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    12e4b8e View commit details
    Browse the repository at this point in the history