We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In React I can add children like this:
<ol> {this.results.map(function(result) { return <li key={result.id}>{result.text}</li>; })} </ol>
How would the equivalent look like with Cloak.
The text was updated successfully, but these errors were encountered:
Any ClojureScript seq will be expanded in place, just like arrays in JavaScript React. Your example would look something like this:
[:ol (for [result results] [:li {:key (:id result)} (:text result)])]
(assuming results contains clojure maps).
See the third example on http://holmsand.github.io/cloact/
Sorry, something went wrong.
Thanks.
No branches or pull requests
In React I can add children like this:
How would the equivalent look like with Cloak.
The text was updated successfully, but these errors were encountered: