Skip to content

Commit 95287a2

Browse files
Version Packages (#116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 0408527 commit 95287a2

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.changeset/shy-experts-wink.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 6.0.2
4+
5+
### Patch Changes
6+
7+
- [#115](https://github.com/tivac/xstate-component-tree/pull/115) [`51cfe5e`](https://github.com/tivac/xstate-component-tree/commit/51cfe5e145106268a3fa94b4a30ed76a3f48cd30) Thanks [@tivac](https://github.com/tivac)! - Fix an issue where in specific situations child trees would not be built.
8+
9+
If a child machine has an `invoke` that immediately triggers a no-op event, the `ComponentTree` instance wouldn't actually walk that child machine for components to render. This was due to an interesting interaction between the xstate `.changed` property and when `invoke`s within the statechart are run.
10+
11+
Now whenever the `ComponentTree` sees a new machine it hasn't walked is running, it will walk it.
12+
313
## 6.0.1
414

515
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xstate-component-tree",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "Build a tree of components based on statechart values",
55
"author": "Pat Cavit <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)