create product configurator with react three fiber
ript function createProductConfigurator(product) { return React.createClass({ getInitialState: function() { return { product: product, productConfigurator: [] }; }, componentDidMount: function() { var self = this; $.ajax({ url: '/api/product_configurator/' + product.id, type: 'GET',