eisisig / react-isolate

React Component Isolation Playground
11 stars 0 forks source link

Component doesn't render if no props exist #29

Closed eisisig closed 8 years ago

eisisig commented 8 years ago

If there is no fixture and no defaultProps in the Component trying to be rendered nothing happends.

We need to check for "defaultProps" property and create an empty Object probably if it doesn't find any