Skip to content

Commit 9815045

Browse files
(cleaned) linkFiber in preparation for adding comments for new addions
1 parent 5473690 commit 9815045

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/backend/linkFiber.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ function createTree(
288288
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
289289
isRecoil === true
290290
) {
291-
// console.log('Recoil Hooks Algo', currentFiber)
292291
if (memoizedState.queue) {
293292
// Hooks states are stored as a linked list using memoizedState.next,
294293
// so we must traverse through the list and get the states.
@@ -322,7 +321,6 @@ function createTree(
322321
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
323322
isRecoil === false
324323
) {
325-
// console.log('Regular Hooks Algo', currentFiber)
326324
if (memoizedState.queue) {
327325
// Hooks states are stored as a linked list using memoizedState.next,
328326
// so we must traverse through the list and get the states.
@@ -351,7 +349,6 @@ function createTree(
351349

352350
// This grabs stateless components
353351
if (!componentFound && (tag === 0 || tag === 1 || tag === 2)) {
354-
// console.log('Stateless Algo', currentFiber)
355352
newState = 'stateless';
356353
}
357354

0 commit comments

Comments
 (0)