day8 / re-frame

A ClojureScript framework for building user interfaces, leveraging React
http://day8.github.io/re-frame/
MIT License
5.44k stars 716 forks source link

Removing an extra div #624

Closed Panthevm closed 4 years ago

Panthevm commented 4 years ago

:<> Reagent Fragment

Example 1

[:div
  [:span "foo"]
  [:span "bar"]] 

=>

<body>
   <div>
      <span>"foo"</span>
      <span>"bar"</span>
  </div>
</body>

Example 2

[:<>
  [:span "foo"]
  [:span "bar"]] 

=>

<body>
    <span>"foo"</span>
    <span>"bar"</span>
</body>
mike-thompson-day8 commented 4 years ago

Thanks!