Title here
Summary here
Chicory integrates JSX for declarative UI description.
const MyComponent = ({name, count}) =>
<div>
<h1>{name}</h1>
<p>Count: {(count).toString()}</p>
<p>Double: {(count * 2).toString()}</p>
</div>
<MyComponent name="Chicory" count={10} />
<TagName>
and end with a closing tag </TagName>
. Self-closing tags are also supported <TagName />
.name="Chicory"
or count={10}
. Attribute values can be:"value"
or 123
{if (true) "Yes" else "No"}