omcljs / om

ClojureScript interface to Facebook's React
6.66k stars 364 forks source link

React complains about a mismatch between client and server code if there is a ' in the text content. #800

Closed livtanong closed 7 years ago

livtanong commented 7 years ago

Complains

(defui SomeComponent
  Object
  (render [this]
    (dom/div nil "foo's")))

Doesn't complain

(defui SomeComponent
  Object
  (render [this]
    (dom/div nil "foos")))
anmonteiro commented 7 years ago

fixed 76aff50e60087aea1ed91337c7217eb997ff65df