Update preact to version 6.3.0 π #92
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello lovely humans,
preact just published its new version 6.3.0.
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of preact.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isnβt right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while Iβm just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project β¨
You rock!
π΄
The new version differs by 455 commits .
cf93387
6.3.0
ff05818
Make
VNode.children
always be an Array, even when there are no children.9b095f4
Added link to preact-layout (#342)
b2d90cc
6.2.1
e606688
Use
parent
to determine if re-rendering starting from within an SVG, since the current element may not exist (eg: for a component).5f3189e
6.2.0
6bfa2af
Drop a few bytes off the render queue.
1475824
Fix: Re-add
Component.prototype.render
since libraries likepreact-compat
use that to determine if a function is a pure functional component or a classful component. Instead of returningnull
, it is now empty.11ac72a
Inline remaining
empty()
calls.9467e2a
Consolidate prop cache check + populate into the diff entry.
c289ce6
Switch to lazy empty check
cc03a7a
Add performance test for JSX VNode creation.
49893be
Tests: if
NODE_ENV=production
, run performance tests againstpreact.min.js
.e973347
Remove tests for
getInitialState()
, which is no longer unofficially supported in Preact core (it is still supported inpreact-compat
).e083f35
Add tests for nested children π―
There are 250 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? β‘
greenkeeper upgrade