Circular dependency issues are the worst. Somehow Webpack is fine with /some/ of them but sometimes it's not and everything blows up and even when you know where it happens your only option is "move shit around until everything works again".
Thank god for TypeScript/VSCode and the ability to quickly move stuff to a new file without worrying about all the imports breaking.
I still lost 2h on this and I'm salty about it.
Maybe not two hours but that still felt like a waste of time and I hate it.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!