feat(Composite): Enhance root and child rendering with error differentiation

- Adjusted Composite to conditionally check for both direct root and child rendering.
- Differentiated error states: omitting an error when `component` prop is absent but showing an error when it's undefined.
- Fixed rendering of @app in the messages stream.
This commit is contained in:
Samuel Andert
2023-07-26 09:40:28 +02:00
parent 0161f4ba4f
commit e3f2dbacc8
4 changed files with 29 additions and 13 deletions

View File

@ -6,7 +6,7 @@
let composite = {
id: 'composite',
layout: {
areas: `
areas: `
"top top top"
"main main main"
"footer footer footer";