{"action":"created","issue":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/287","repository_url":"https://api.github.com/repos/shakacode/react_on_rails","labels_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/287/comments","events_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/287/events","html_url":"https://github.com/shakacode/react_on_rails/pull/287","id":135214286,"number":287,"title":"Added callbacks to the Helper to allow you to insert additional JS before and after the server rendering.","user":{"login":"martyphee","id":754870,"avatar_url":"https://avatars.githubusercontent.com/u/754870?v=3","gravatar_id":"","url":"https://api.github.com/users/martyphee","html_url":"https://github.com/martyphee","followers_url":"https://api.github.com/users/martyphee/followers","following_url":"https://api.github.com/users/martyphee/following{/other_user}","gists_url":"https://api.github.com/users/martyphee/gists{/gist_id}","starred_url":"https://api.github.com/users/martyphee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martyphee/subscriptions","organizations_url":"https://api.github.com/users/martyphee/orgs","repos_url":"https://api.github.com/users/martyphee/repos","events_url":"https://api.github.com/users/martyphee/events{/privacy}","received_events_url":"https://api.github.com/users/martyphee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shakacode/react_on_rails/labels/work-in-progress","name":"work-in-progress","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2016-02-21T15:02:26Z","updated_at":"2016-03-26T06:02:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/287","html_url":"https://github.com/shakacode/react_on_rails/pull/287","diff_url":"https://github.com/shakacode/react_on_rails/pull/287.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/287.patch"},"body":"This PR adds pre-render and after-render hooks to allow the insertion of JS before and after server compiling.  \r\n\r\nOur use case is to allow us to insert i18n js before server rendering so that we have the proper language file.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/shakacode/react_on_rails/287)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/comments/201712579","html_url":"https://github.com/shakacode/react_on_rails/pull/287#issuecomment-201712579","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/287","id":201712579,"user":{"login":"justin808","id":1118459,"avatar_url":"https://avatars.githubusercontent.com/u/1118459?v=3","gravatar_id":"","url":"https://api.github.com/users/justin808","html_url":"https://github.com/justin808","followers_url":"https://api.github.com/users/justin808/followers","following_url":"https://api.github.com/users/justin808/following{/other_user}","gists_url":"https://api.github.com/users/justin808/gists{/gist_id}","starred_url":"https://api.github.com/users/justin808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin808/subscriptions","organizations_url":"https://api.github.com/users/justin808/orgs","repos_url":"https://api.github.com/users/justin808/repos","events_url":"https://api.github.com/users/justin808/events{/privacy}","received_events_url":"https://api.github.com/users/justin808/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T06:02:36Z","updated_at":"2016-03-26T06:02:36Z","body":"Let's move this discussion over to #345.\r\n\r\nI think this will do everything this was going to do and a whole lot more."}}