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.
6be3ff5Follow-up to #260: When picking up from SSR, no elements are marked with _component/_componentConstructor and thus none match via isSameNodeType(). When this happens, fall back to attempting to re-use elements in-order.
5c22af6Amendment to solution for #260: when in mountAll mode (initial render of a component), attempt to re-use parent's base for high-order children that do not initialize with a recycled base.
ceb6167Breaking: Discard keyed nodes when they don't match the updated DOM description instead of allowing them to be re-used unkeyed. This should fix #254 /cc @gnaeus
cfe02d4โ (Small) Breaking Change: linkState() no longer falls back to component paths and no longer auto-invokes the target path if it is a function. These features were unused and poor documented, and added extra weight.
ba48cd3Fix flakey test relying on attribute ordering in innerHTML serialization (Firefox 45 I'm looking at you)
4da16e2Bugfix: when swapping between Text, Comment and Element nodes, reclaim whole orphaned trees rather than just their roots.
7049c08Bugfix: prevent the recycler from collecting non-Element nodes ๐
68dce67Remove default empty vnode hook (note: this is technically a breaking change, but very few people use this API and documentation has mentioned performing an existence check on the previous hook prior to calling it for a long time)
Hello lovely humans,
preact just published its new version 6.0.1.
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 :sparkles:
You rock!
:palm_tree:
The new version differs by 78 commits .
d26ab44
6.0.1
d3c7a46
Install missing dependency for npm t (#291)
81c5808
chore(package): update pretty-bytes-cli to version 2.0.0 (#285)
23f6c44
6.0.0
6be3ff5
Follow-up to #260: When picking up from SSR, no elements are marked with
_component
/_componentConstructor
and thus none match viaisSameNodeType()
. When this happens, fall back to attempting to re-use elements in-order.5c22af6
Amendment to solution for #260: when in
mountAll
mode (initial render of a component), attempt to re-use parent'sbase
for high-order children that do not initialize with a recycledbase
.ceb6167
Breaking: Discard keyed nodes when they don't match the updated DOM description instead of allowing them to be re-used unkeyed. This should fix #254 /cc @gnaeus
cfe02d4
โ (Small) Breaking Change:
linkState()
no longer falls back to component paths and no longer auto-invokes the target path if it is a function. These features were unused and poor documented, and added extra weight.ba48cd3
Fix flakey test relying on attribute ordering in
innerHTML
serialization (Firefox 45 I'm looking at you)4da16e2
Bugfix: when swapping between Text, Comment and Element nodes, reclaim whole orphaned trees rather than just their roots.
7049c08
Bugfix: prevent the recycler from collecting non-Element nodes ๐
68dce67
Remove default empty
vnode
hook (note: this is technically a breaking change, but very few people use this API and documentation has mentioned performing an existence check on the previous hook prior to calling it for a long time)513ba51
Remove commented out code.
1ba8ef7
Add inline doc/note about VNode Hooks as suggested by @Robert-Wett ๐
4fc4a85
Merge branch 'master' of github.com:developit/preact
There are 78 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? :zap:
greenkeeper upgrade