From 69de99d5b7cf3b7b51d22c0f15be74e56d4d33c5 Mon Sep 17 00:00:00 2001 From: Abhishiv Saxena Date: Mon, 24 Jun 2024 23:03:47 +0300 Subject: [PATCH] new version --- README.md | 9 --------- package.json | 2 +- src/stdlib/Each/index.tsx | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 77cdd63..3bcf81d 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,6 @@ Fine grained reactive UI Library. -#### Sponsors - - - - - - -
You might want to try out grati.co, a no-code programming environment with emacs like extensibility.
- #### Example [Counter - Codesandbox](https://codesandbox.io/s/counter-demo-alfama-t7ift3?file=/src/index.tsx) diff --git a/package.json b/package.json index 8617215..d7671e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alfama", - "version": "0.3.21", + "version": "0.3.22", "author": "Abhishiv Saxena", "license": "MIT", "description": "Fine-grained reactive library with no compiler, no magic, and no virtual DOM", diff --git a/src/stdlib/Each/index.tsx b/src/stdlib/Each/index.tsx index 745cf5e..aa28f7a 100644 --- a/src/stdlib/Each/index.tsx +++ b/src/stdlib/Each/index.tsx @@ -81,7 +81,7 @@ export const Each: ( const firstNode = previousChildren[0]; if (firstNode) removeNode(renderContext, firstNode); } else if (data.name === "splice") { - const previousChildren = [...parentStep.children]; + const previousChildren = [...pStep.children]; const [startIndex, deleteCount, ...items] = data.args as [ number, number,