Skip to content

Recurse when handling nested lists #7

@dmohs

Description

@dmohs

This renders correctly:

[:div {} [:br] [:br] (list [:br] [:br]]

but this does not:

[:div {} [:br] [:br] (list [:br] (list [:br])]

Isaac and I discussed. It seems reasonable that these can be flattened so that everything becomes a child of the parent element.

https://github.com/dmohs/react-cljs/blob/master/src/main/cljs/dmohs/react/core.cljs#L108

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions