Maybe because of react jsx, the call of a Astro Class methods from jsx does not have the "record" context, so the (current) record data is not usable:
see: /users
The collection should show a list of email addresses for the users collection.
No email address is shown, because the {record.firstEmail()} (from jsx) will call
return _.get(this, 'emails[0].address', null);
but "this" is not the expected "this" context for the record, its the window context of the browser
Maybe because of react jsx, the call of a Astro Class methods from jsx does not have the "record" context, so the (current) record data is not usable:
see: /users The collection should show a list of email addresses for the users collection. No email address is shown, because the {record.firstEmail()} (from jsx) will call
but "this" is not the expected "this" context for the record, its the window context of the browser