Seeing (what I thought only academic in nature) Linked List, used in React sounds great. It definitely helps on understanding "how" the fiber was implemented (as you also mentioned "why" in the Fiber documentation link).
I've also run into another place in React source, where they heavily utilizes Linked List.
React-cache is a reference implementation of upcoming data fetch feature.
The underlying implementation uses LRU (Least Recently Used) cache, which uses linked list to track cached resources.
Ooh! That one is a circular doubly-linked list, which is really cool!
I honestly still haven't been able to figure the whole code out yet 😅
Maybe I can do another one of these! I haven't read it yet though! Looks complicated!
Looking forward to your next post 🙂. Thank you :p
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.