ryanflorence / react-training

Mini React Training Course
1.01k stars 128 forks source link

question for Sprinkles of React #27

Closed geohuz closed 6 years ago

geohuz commented 8 years ago

Recently I'm trying to incorporate reactjs in one of my project, I'm planning to use a react form lib to generate form dynamically. But I get stuck on module dependencies, the module I'm trying to use is the 'tcomb-form', but it has dependency on 'tcomb', I can find the tcomb-form.min.js so to include it in the script tag is straight to go, but I'm confused with tcomb package, it doesn't have a dist package so I don't know how to include it in my script. I also tried other way such as using webpack to generate the bundle and I can use import in my script, but I thought doing this involve too much overhead in this simple scenario. Could you please help me for this problem? I'm still new to this area I found many things to learn.