swannodette / mies-om

Less is More template for Om
53 stars 10 forks source link

satisfy IRender protocol in default root component #6

Closed martinklepsch closed 10 years ago

martinklepsch commented 10 years ago

This seems to be required in newer versions of Om otherwise people will run into

Uncaught Error: Assert failed: Invalid Om component fn,  does not return valid instance
(or (satisfies? IRender x) (satisfies? IRenderState x))

I couldn't find the appropriate note in Om's CHANGES.md so I could be wrong. It seems that most examples are now using reify though.

swannodette commented 10 years ago

Thanks!