Skip to content

Commit b3468c0

Browse files
Samuel  TranSamuel  Tran
authored andcommitted
Revert "Removed atomsarray from linkfiber.ts r/t deprecated recoil.js"
This reverts commit 173e6e8.
1 parent e212bd8 commit b3468c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/linkFiber.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ function createTree(
243243
componentFound = true;
244244
}
245245
let hooksIndex;
246+
const atomArray = [];
247+
atomArray.push(memoizedProps);
246248

247249
// Check if node is a hooks useState function
248250
// REGULAR REACT HOOKS

0 commit comments

Comments
 (0)