{"action":"created","issue":{"url":"https://api.github.com/repos/rebem/layers-loader/issues/6","repository_url":"https://api.github.com/repos/rebem/layers-loader","labels_url":"https://api.github.com/repos/rebem/layers-loader/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/rebem/layers-loader/issues/6/comments","events_url":"https://api.github.com/repos/rebem/layers-loader/issues/6/events","html_url":"https://github.com/rebem/layers-loader/issues/6","id":151186467,"number":6,"title":"The importFactory flag's value ignored","user":{"login":"PTihomir","id":690617,"avatar_url":"https://avatars.githubusercontent.com/u/690617?v=3","gravatar_id":"","url":"https://api.github.com/users/PTihomir","html_url":"https://github.com/PTihomir","followers_url":"https://api.github.com/users/PTihomir/followers","following_url":"https://api.github.com/users/PTihomir/following{/other_user}","gists_url":"https://api.github.com/users/PTihomir/gists{/gist_id}","starred_url":"https://api.github.com/users/PTihomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PTihomir/subscriptions","organizations_url":"https://api.github.com/users/PTihomir/orgs","repos_url":"https://api.github.com/users/PTihomir/repos","events_url":"https://api.github.com/users/PTihomir/events{/privacy}","received_events_url":"https://api.github.com/users/PTihomir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T16:58:16Z","updated_at":"2016-04-27T00:52:29Z","closed_at":null,"body":"Hi\r\nJust as the documentation says, the importFactory flag changes what is returned by using `#`. But for some reason, when requesting a component in the consumer component (in a file defined as consumer in the rebem-layers-loader configuration) the returned value is always wrapped in React.createFactory, even if importFactory is set to false.\r\n\r\nNot sure if this is intentional (then the documentation should probably mention this) or I am doing something wrong."},"comment":{"url":"https://api.github.com/repos/rebem/layers-loader/issues/comments/214932218","html_url":"https://github.com/rebem/layers-loader/issues/6#issuecomment-214932218","issue_url":"https://api.github.com/repos/rebem/layers-loader/issues/6","id":214932218,"user":{"login":"mistadikay","id":742056,"avatar_url":"https://avatars.githubusercontent.com/u/742056?v=3","gravatar_id":"","url":"https://api.github.com/users/mistadikay","html_url":"https://github.com/mistadikay","followers_url":"https://api.github.com/users/mistadikay/followers","following_url":"https://api.github.com/users/mistadikay/following{/other_user}","gists_url":"https://api.github.com/users/mistadikay/gists{/gist_id}","starred_url":"https://api.github.com/users/mistadikay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistadikay/subscriptions","organizations_url":"https://api.github.com/users/mistadikay/orgs","repos_url":"https://api.github.com/users/mistadikay/repos","events_url":"https://api.github.com/users/mistadikay/events{/privacy}","received_events_url":"https://api.github.com/users/mistadikay/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T00:52:29Z","updated_at":"2016-04-27T00:52:29Z","body":"Hi, could you provide an example of your configuration and components file structure?"}}