#Circular dependencies in Vite with React

4 messages · Page 1 of 1 (latest)

merry heron
#

Circular dependencies in Vite with React

mossy river
#

You can use string IDs for the route IDs that should remove most of the need for this.

#

But at the end of the day, these circular references are perfectly fine in production.

deft tide
#

The kitchen sink multi file has a circular depencency that causes the app not to start.

   Uncaught ReferenceError: Cannot access 'invoicesRoute' before initialization
at invoices.tsx:7:35