{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Blazor/issues/898","repository_url":"https://api.github.com/repos/aspnet/Blazor","labels_url":"https://api.github.com/repos/aspnet/Blazor/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Blazor/issues/898/comments","events_url":"https://api.github.com/repos/aspnet/Blazor/issues/898/events","html_url":"https://github.com/aspnet/Blazor/issues/898","id":327306334,"number":898,"title":"Pass parameters to dynamically created component","user":{"login":"Diemauerdk","id":29087425,"avatar_url":"https://avatars3.githubusercontent.com/u/29087425?v=4","gravatar_id":"","url":"https://api.github.com/users/Diemauerdk","html_url":"https://github.com/Diemauerdk","followers_url":"https://api.github.com/users/Diemauerdk/followers","following_url":"https://api.github.com/users/Diemauerdk/following{/other_user}","gists_url":"https://api.github.com/users/Diemauerdk/gists{/gist_id}","starred_url":"https://api.github.com/users/Diemauerdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diemauerdk/subscriptions","organizations_url":"https://api.github.com/users/Diemauerdk/orgs","repos_url":"https://api.github.com/users/Diemauerdk/repos","events_url":"https://api.github.com/users/Diemauerdk/events{/privacy}","received_events_url":"https://api.github.com/users/Diemauerdk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-29T12:50:29Z","updated_at":"2018-05-30T05:48:51Z","closed_at":"2018-05-29T19:13:52Z","author_association":"NONE","body":"Hi,\r\n\r\nI am trying to send parameters to a component that is created dynamically using the RenderTreeBuilder and RenderFragment. What i basically does to create the render fragment is this is:\r\n\r\n` private RenderFragment GetContent(Type type)\r\n        {\r\n            return builder =>\r\n            {\r\n                builder.OpenComponent(0, type);\r\n                builder.CloseComponent();\r\n            };\r\n        }`\r\n\r\nThat code is very simple and working fine.\r\n\r\nHowever I want to be able to send various parameters to the dynamically created comonents. A start could just be an id of type string.\r\n\r\nAnyone know if or how this is supported by the framework?\r\n\r\nThanks :)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Blazor/issues/comments/393038066","html_url":"https://github.com/aspnet/Blazor/issues/898#issuecomment-393038066","issue_url":"https://api.github.com/repos/aspnet/Blazor/issues/898","id":393038066,"user":{"login":"Diemauerdk","id":29087425,"avatar_url":"https://avatars3.githubusercontent.com/u/29087425?v=4","gravatar_id":"","url":"https://api.github.com/users/Diemauerdk","html_url":"https://github.com/Diemauerdk","followers_url":"https://api.github.com/users/Diemauerdk/followers","following_url":"https://api.github.com/users/Diemauerdk/following{/other_user}","gists_url":"https://api.github.com/users/Diemauerdk/gists{/gist_id}","starred_url":"https://api.github.com/users/Diemauerdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diemauerdk/subscriptions","organizations_url":"https://api.github.com/users/Diemauerdk/orgs","repos_url":"https://api.github.com/users/Diemauerdk/repos","events_url":"https://api.github.com/users/Diemauerdk/events{/privacy}","received_events_url":"https://api.github.com/users/Diemauerdk/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T05:48:51Z","updated_at":"2018-05-30T05:48:51Z","author_association":"NONE","body":"Hi,\r\n\r\nThanks for the answers - I can continue from here with that information. :)\r\n\r\nHave a nice day.\r\n"}}
{"actor":{"display_login":"Diemauerdk"}}