From bfa8a04280f7231208718dd476e30fa65f116d6c Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Thu, 25 Apr 2024 23:21:31 +0100 Subject: :alembic: Create test case to make sure server component patching is working. --- test-apps/server-component-change-children/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-apps/server-component-change-children/README.md (limited to 'test-apps/server-component-change-children/README.md') diff --git a/test-apps/server-component-change-children/README.md b/test-apps/server-component-change-children/README.md new file mode 100644 index 0000000..a6acb10 --- /dev/null +++ b/test-apps/server-component-change-children/README.md @@ -0,0 +1,5 @@ +This example makes sure that patches that add or remove different children in a +server component are correctly applied on the client. At one point we realised +patches were being sent in reverse order and that meant the client ended up +incorrectly reusing newly-created children from the _current patch_ when diffing +new nodes. -- cgit v1.2.3