lustre-labs / lustre

A Gleam web framework for building HTML templates, single page applications, and real-time server components.
https://hexdocs.pm/lustre
MIT License
1.21k stars 78 forks source link

Lustre 4.4.0 regression `TypeError: element.children is undefined` #179

Closed mdarse closed 2 months ago

mdarse commented 2 months ago

Hi, since an accidental update to latest version 4.4.0, the app I’m working on is broken.

Not sure what's happening here, but here is a screenshot while paused on the crash, I think it may be related to fragments because there is no children property:

Capture d’écran 2024-09-06 à 06 01 53

I’m just had a look at the changes since 4.3.6 and I’m not sure I understand the rationale behind the new generators stuff.

Don’t hesitate if more information is needed to reproduce the issue.

hayleigh-dot-dev commented 2 months ago

Ah thank you, good spot! 4.4.1 will be released in a second with the fix, sorry!