grommet / jsx-to-string

Parse your React JSX component to string
MIT License
124 stars 26 forks source link

Can't handle React components referenced within object properties. #8

Closed ericsoderberghp closed 8 years ago

ericsoderberghp commented 8 years ago

If I have something like:

<Component property={{ key: <Component2 /> }} />

jsxToString throws React exceptions.

alansouzati commented 8 years ago

correct. I noticed that the other day too. let me work on a fix for that

alansouzati commented 8 years ago

Fixed.