Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
589: Allow components to accept children elements r=jstarry a=jstarry Fixes: #537 #### Terminology - (B) Base component that renders components nested inside each other - (P) Parent component that has a `children` property and can render those children - (C) Child component that is nested inside parent and included inside the Parent's `children` #### Todo - [x] Add example for nested components - [x] Support arbitrary html nested inside component tags - [x] Support nested components inside component tags - [x] Allow modifying & accessing (C) props when rendering (P) - [x] Allow filtering (C) components when rendering (P) - [x] Children prop be required or optional - [x] Clean up nested component example - [x] Fix parser for generic component type - [x] Write tests - [x] Update documentation and README - [x] ~~Investigate passing required properties from (P) -> (C)~~ - [x] ~~Allow sending messages from (C) -> (B)~~ Co-authored-by: Justin Starry <jstarry@users.noreply.github.com>
- Loading branch information