You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
431 B
431 B
id | title | layout | permalink |
---|---|---|---|
jsx-root-node-count-tip | Maximum number of JSX root nodes | docs | jsx-root-node-count-tip.html |
Currently, in a component's render
, you can only return one node; if you have, say, a list of div
s to return, you must wrap your components within a div
, span
or any other component.
Don't forget that JSX compiles into regular js; returning two functions doesn't really make syntactic sense.