Accudio / async-alpine

Async Alpine brings advanced code splitting and lazy-loading to Alpine.js components!
https://async-alpine.dev
Apache License 2.0
152 stars 12 forks source link

Allow nesting of `ax-load` components #5

Closed Accudio closed 2 years ago

Accudio commented 2 years ago

Nesting ax-load does not guarantee the order in which components load. This will likely make nested components that rely on each other inconsistent.

Accudio commented 2 years ago

A way around this for the moment would be using the event strategy to only load the component when the parent is ready.

Accudio commented 2 years ago

Added in 0.3.0