Fork me on GitHub
#rum
<
2016-10-31
>
jupl01:10:18

@adamfrey Is js/React.PropTypes.any not sufficient?

adamfrey01:10:14

hmm, I didn’t know that was a thing. That looks like it would work.

martinklepsch08:10:20

@adamfrey: I used the fn proptype which worked great

martinklepsch08:10:26

Or let's not say it's easy but probably the easiest/simplest option

Niki09:10:51

maybe I should make it part of Rum API

Niki09:10:06

only thing that stops me is that I don’t like hidden dependencies

martinklepsch11:10:36

I think the way it works is fine, it's not really that complex code wise you just have to understand what to do. Maybe a section in the docs would be preferable to actual code?

martinklepsch11:10:23

And given that any code-way of doing it will likely hide something it may lead to more confusion

jupl14:10:21

@martinklepsch I think documentation + example would be perfect. 😄

jupl14:10:37

I’ll take a look at the source later today. Thanks.