<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="23:07 &lt; balpert&gt; can we add &lt;Namespaced.Things /&gt; to JSX?
23:07 &lt; jwalke&gt; I like that you chose the dot!
23:07 &lt; jwalke&gt; Keep it javascript-first.
23:07 &lt; balpert&gt; yes
23:08 &lt; balpert&gt; translating colon to dot would be absurd
23:08 &lt; balpert&gt; (in my opinion)
23:08 &lt; jwalke&gt; So you could have var MyComponentsPackage = {Typeahead:
                R.createClass.. }
23:08 &lt; jwalke&gt; &lt;MyComponentsPackage.Typeahead /&gt;
23:08 &lt; jwalke&gt; I like it.
23:08 &lt; jwalke&gt; Make an issue!"><pre class="notranslate"><code class="notranslate">23:07 &lt; balpert&gt; can we add &lt;Namespaced.Things /&gt; to JSX?
23:07 &lt; jwalke&gt; I like that you chose the dot!
23:07 &lt; jwalke&gt; Keep it javascript-first.
23:07 &lt; balpert&gt; yes
23:08 &lt; balpert&gt; translating colon to dot would be absurd
23:08 &lt; balpert&gt; (in my opinion)
23:08 &lt; jwalke&gt; So you could have var MyComponentsPackage = {Typeahead:
                R.createClass.. }
23:08 &lt; jwalke&gt; &lt;MyComponentsPackage.Typeahead /&gt;
23:08 &lt; jwalke&gt; I like it.
23:08 &lt; jwalke&gt; Make an issue!
</code></pre></div>
<p dir="auto">I came up with a rather crude (but I think promising) way to autogen component rendering tests. I'm throwing a big list of values at my components' propTypes validators (kind of like using a fuzzer). I use that to construct a set of supposedly-valid values for each prop, and subsequently combine those into supposedly-valid sets of props.</p>
<p dir="auto">With direct calling of prop validators being deprecated, is there some other way to accomplish this that I'm missing? I think this test generator would be really useful, but given that I'm dependent on a deprecated feature, I'm not clear if it has a future.</p>
<p dir="auto">fiddle demo: <a href="https://jsfiddle.net/6g3r6amb/1/" rel="nofollow">https://jsfiddle.net/6g3r6amb/1/</a></p>