Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 29, 2020

Bumps preact from 10.4.8 to 10.5.3.

Release notes

Sourced from preact's releases.

10.5.3

This release fixes a regression in regards to class/className handling in preact/compat. We encourage everyone to upgrade.

Bug Fixes

Maintenance

10.5.2

10.5.1

  • Fix publishing error with jsx-runtime package (#2767, thanks @johakr)

10.5.0 - JSX Reloaded

New JSX-runtime functions

This has been a long time in the making for various virtual-dom based frameworks. Historically JSX was always transpiled to createElement function calls.

// input
<div>foobar</div>
// output, we need to move "foobar" to props.children
createElement("div, {}, "foobar");

While this has served us well and is very reliable, it has proven to be hard to optimize. Most of the things we do in our createElement function could by done by babel directly, thereby making it smaller and faster. This is very desirable for us as this function is called a lot in any application. It's part of the so-called hot-path.

And that's exactly what the new signature does. It removes the need for us to pull out key from props, add back children to props and just makes the implementation simpler. As a nice benefit users won't need to manually import h/createElement anymore 🎉

// input
<li key="foo">foobar</li>
// output
jsx("li", { children: "foobar" }, "foo");

Usage with babel:

// babel.config.js
module.exports = {
</tr></table> 

... (truncated)

Commits
  • 8603d70 Merge pull request #2780 from preactjs/release-10.5.3
  • c69ecd1 Release 10.5.3
  • 0cb2634 Merge pull request #2774 from preactjs/fix-classname
  • 06fd0e9 Merge branch 'master' into fix-classname
  • b3da47d Merge pull request #2776 from kitten/fix/suspense-hooks-edgecases
  • 2cb903f Merge branch 'master' into fix/suspense-hooks-edgecases
  • 27eca03 Merge pull request #2777 from preactjs/check-export-map
  • 74cf0df Replace custom script with check-export-map
  • e8233d4 Add tests (for what I think is the functionality we want?)
  • aedd903 Add test for thrown error in useState setup function
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [preact](https://github.com/preactjs/preact) from 10.4.8 to 10.5.3.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](preactjs/preact@10.4.8...10.5.3)

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 29, 2020
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 6, 2020

Superseded by #111.

@dependabot dependabot bot closed this Oct 6, 2020
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/preact-10.5.3 branch October 6, 2020 04:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants