{"action":"opened","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/1098","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/1098/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/1098/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/1098/events","html_url":"https://github.com/erikras/redux-form/issues/1098","id":158498867,"number":1098,"title":"[v6] How can i pass props to FieldArray component={} ?","user":{"login":"olegkalyta","id":1133682,"avatar_url":"https://avatars.githubusercontent.com/u/1133682?v=3","gravatar_id":"","url":"https://api.github.com/users/olegkalyta","html_url":"https://github.com/olegkalyta","followers_url":"https://api.github.com/users/olegkalyta/followers","following_url":"https://api.github.com/users/olegkalyta/following{/other_user}","gists_url":"https://api.github.com/users/olegkalyta/gists{/gist_id}","starred_url":"https://api.github.com/users/olegkalyta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegkalyta/subscriptions","organizations_url":"https://api.github.com/users/olegkalyta/orgs","repos_url":"https://api.github.com/users/olegkalyta/repos","events_url":"https://api.github.com/users/olegkalyta/events{/privacy}","received_events_url":"https://api.github.com/users/olegkalyta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-04T10:33:49Z","updated_at":"2016-06-04T10:33:49Z","closed_at":null,"body":"I follow example for latest alpha version:\r\nhttp://redux-form.com/6.0.0-alpha.14/examples/fieldArrays/\r\n\r\nAfter reading latest release notes, i try to follow that rule:\r\nYou may not inline \"fat arrow components\" inside your form's render() method.\r\n\r\nThis code worked fine:\r\n`  <FieldArray\r\n                  name=\"items\"\r\n                  {...itemsValues}\r\n                  component={items => <ItemsEdit {...{ itemsValues, items, push, reorderItems } } /> }\r\n                />\r\n`\r\nNow i want extract <ItemsEdit /> with props and use it like:\r\n\r\n`const ItemsEditComponent = props => <ItemsEdit {...{ itemsValues, items, push, reorderItems } } />`\r\n\r\n...\r\n` <FieldArray\r\n                  name=\"items\"\r\n                  {...itemsValues}\r\n                  component={ItemsEditComponent} /> }\r\n                />\r\n`\r\nIn example only mapped object is transfered to inner component in FieldArray. \r\nHow can i pass props there?\r\n"}}
{"actor":{"display_login":"olegkalyta"}}