{"action":"closed","issue":{"url":"https://api.github.com/repos/fermuch/simple-react-form-bootstrap/issues/8","repository_url":"https://api.github.com/repos/fermuch/simple-react-form-bootstrap","labels_url":"https://api.github.com/repos/fermuch/simple-react-form-bootstrap/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/fermuch/simple-react-form-bootstrap/issues/8/comments","events_url":"https://api.github.com/repos/fermuch/simple-react-form-bootstrap/issues/8/events","html_url":"https://github.com/fermuch/simple-react-form-bootstrap/issues/8","id":190333672,"number":8,"title":"Too many undocumented dependencies","user":{"login":"mhlmhl","id":12564045,"avatar_url":"https://avatars.githubusercontent.com/u/12564045?v=3","gravatar_id":"","url":"https://api.github.com/users/mhlmhl","html_url":"https://github.com/mhlmhl","followers_url":"https://api.github.com/users/mhlmhl/followers","following_url":"https://api.github.com/users/mhlmhl/following{/other_user}","gists_url":"https://api.github.com/users/mhlmhl/gists{/gist_id}","starred_url":"https://api.github.com/users/mhlmhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhlmhl/subscriptions","organizations_url":"https://api.github.com/users/mhlmhl/orgs","repos_url":"https://api.github.com/users/mhlmhl/repos","events_url":"https://api.github.com/users/mhlmhl/events{/privacy}","received_events_url":"https://api.github.com/users/mhlmhl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-18T14:35:56Z","updated_at":"2016-11-24T15:58:22Z","closed_at":"2016-11-24T15:58:22Z","body":"I tried to use this, but found that it got me into a rat hole of undocumented dependencies.  It turns out that this simple-react-form-bootstrap package is built on top of the simple-react-form-material-ui package, which itself has a bunch of dependencies.  So I had to manually install:\r\n- moment\r\n-  simple-react-form-material-ui\r\n- material-ui\r\n- react-tap-event-plugin\r\n\r\nThen I had to update react and react-dom to their 15.4.0-0 versions.\r\n\r\nOnce I had resolved these dependencies, I got this when trying to render a Form with one Field of type \"Text\":\r\n\r\n> 9…:4614 Warning: Failed context type: The context `muiTheme` is marked as required in `TextField`, but its value is `undefined`.\r\n>     in TextField (created by TextFieldComponent)\r\n>     in TextFieldComponent (created by Field)\r\n>     in Field (created by AdminView)\r\n>     in form (created by Form)\r\n>     in Form (created by AdminView)\r\n>     in div (created by AdminView)\r\n>     in AdminView (created by RouterContext)\r\n>     in div (created by BasicLayout)\r\n>     in BasicLayout (created by RouterContext)\r\n>     in RouterContext (created by Router)\r\n>     in Router\r\n\r\nAnd also:\r\n\r\n> TypeError: Cannot read property 'prepareStyles' of undefined\r\n>     at TextField.render (modules.js?hash=d3491c9…:35490)\r\n>     at modules.js?hash=d3491c9…:17145\r\n>     at measureLifeCyclePerf (modules.js?hash=d3491c9…:16424)\r\n>  (etc.)\r\n\r\nI investigated the code, and disovered that \"muiTheme\" is a material-UI thingy.  I thought I was doing Bootstrap, not material-UI!\r\n\r\nAfter spending well more than an hour on this, and be unwilling to learn another UI scheme, I decided that \"simple-react-form-bootstrap\" is not really simple, and gave up.  I'll spend the next 20 minutes backing out these dependencies and try something else to create a simple form."}}
{"actor":{"display_login":"mhlmhl"}}