The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
It is working great, but the featured_media is not being loaded into state at the moment, or only if I click Refresh/F5 on the actual CPT for example /portfolio/dossis/
Any idea how I could solve that? How are featured_media, being fetched and added to state.source.attachment (which is only loaded with blog posts stuff)?
Besides state.attachment, also the _embedded item on the CPT item (state.portfolio[*]) itself is not getting populated. Does _embedded have any effects?
Is there any documentation of how state.attachment is being populated?