{"action":"created","comment":{"url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/comments/235364669","pull_request_review_id":177210861,"id":235364669,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTM2NDY2OQ==","diff_hunk":"@@ -0,0 +1,32 @@\n+import React from 'react'\n+import styled from 'styled-components'\n+import TimeIntervalItem from './TimeIntervalItem'\n+\n+const Container = styled.div`\n+    margin: 0 10px;\n+    display: flex;\n+    align-items: stretch;\n+`\n+\n+class TimeIntervals extends React.Component {\n+    constructor(props) {\n+        super(props);\n+        this.state = { animated: false };\n+    }\n+\n+    componentDidMount() {\n+        this.setState({ animated: true });\n+    }\n+\n+    render(){\n+        return (\n+            <Container>\n+                { Array.from(Array(this.props.itemsCount), (e, i) => {\n+                    return <TimeIntervalItem key={ i } animated={this.state.animated}/>","path":"src/components/TimeIntervals.js","position":25,"original_position":25,"commit_id":"0e9721009245ebd2df4eba0ceff99bab82e9109d","original_commit_id":"0e9721009245ebd2df4eba0ceff99bab82e9109d","user":{"login":"ivandashk","id":14029952,"node_id":"MDQ6VXNlcjE0MDI5OTUy","avatar_url":"https://avatars0.githubusercontent.com/u/14029952?v=4","gravatar_id":"","url":"https://api.github.com/users/ivandashk","html_url":"https://github.com/ivandashk","followers_url":"https://api.github.com/users/ivandashk/followers","following_url":"https://api.github.com/users/ivandashk/following{/other_user}","gists_url":"https://api.github.com/users/ivandashk/gists{/gist_id}","starred_url":"https://api.github.com/users/ivandashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivandashk/subscriptions","organizations_url":"https://api.github.com/users/ivandashk/orgs","repos_url":"https://api.github.com/users/ivandashk/repos","events_url":"https://api.github.com/users/ivandashk/events{/privacy}","received_events_url":"https://api.github.com/users/ivandashk/received_events","type":"User","site_admin":false},"body":"Как сделать в styled components, чтобы мы могли применять другое правило в произвольный момент времени не перерендеривая компонент?","created_at":"2018-11-21T12:18:55Z","updated_at":"2018-11-21T12:18:55Z","html_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1#discussion_r235364669","pull_request_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/comments/235364669"},"html":{"href":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1#discussion_r235364669"},"pull_request":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1","id":232641987,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNjQxOTg3","html_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1","diff_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1.diff","patch_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1.patch","issue_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/1","number":1,"state":"open","locked":false,"title":"Time intervals","user":{"login":"ivandashk","id":14029952,"node_id":"MDQ6VXNlcjE0MDI5OTUy","avatar_url":"https://avatars0.githubusercontent.com/u/14029952?v=4","gravatar_id":"","url":"https://api.github.com/users/ivandashk","html_url":"https://github.com/ivandashk","followers_url":"https://api.github.com/users/ivandashk/followers","following_url":"https://api.github.com/users/ivandashk/following{/other_user}","gists_url":"https://api.github.com/users/ivandashk/gists{/gist_id}","starred_url":"https://api.github.com/users/ivandashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivandashk/subscriptions","organizations_url":"https://api.github.com/users/ivandashk/orgs","repos_url":"https://api.github.com/users/ivandashk/repos","events_url":"https://api.github.com/users/ivandashk/events{/privacy}","received_events_url":"https://api.github.com/users/ivandashk/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-21T12:14:02Z","updated_at":"2018-11-21T12:18:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ea1919b3abbbd86e67baddeb187bc06340eba97","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/1/comments","statuses_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/statuses/0e9721009245ebd2df4eba0ceff99bab82e9109d","head":{"label":"Hiker-Hope:time-intervals","ref":"time-intervals","sha":"0e9721009245ebd2df4eba0ceff99bab82e9109d","user":{"login":"Hiker-Hope","id":40206776,"node_id":"MDQ6VXNlcjQwMjA2Nzc2","avatar_url":"https://avatars3.githubusercontent.com/u/40206776?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiker-Hope","html_url":"https://github.com/Hiker-Hope","followers_url":"https://api.github.com/users/Hiker-Hope/followers","following_url":"https://api.github.com/users/Hiker-Hope/following{/other_user}","gists_url":"https://api.github.com/users/Hiker-Hope/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiker-Hope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiker-Hope/subscriptions","organizations_url":"https://api.github.com/users/Hiker-Hope/orgs","repos_url":"https://api.github.com/users/Hiker-Hope/repos","events_url":"https://api.github.com/users/Hiker-Hope/events{/privacy}","received_events_url":"https://api.github.com/users/Hiker-Hope/received_events","type":"User","site_admin":false},"repo":{"id":158397481,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzOTc0ODE=","name":"Text-Stories-Swiper","full_name":"Hiker-Hope/Text-Stories-Swiper","private":false,"owner":{"login":"Hiker-Hope","id":40206776,"node_id":"MDQ6VXNlcjQwMjA2Nzc2","avatar_url":"https://avatars3.githubusercontent.com/u/40206776?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiker-Hope","html_url":"https://github.com/Hiker-Hope","followers_url":"https://api.github.com/users/Hiker-Hope/followers","following_url":"https://api.github.com/users/Hiker-Hope/following{/other_user}","gists_url":"https://api.github.com/users/Hiker-Hope/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiker-Hope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiker-Hope/subscriptions","organizations_url":"https://api.github.com/users/Hiker-Hope/orgs","repos_url":"https://api.github.com/users/Hiker-Hope/repos","events_url":"https://api.github.com/users/Hiker-Hope/events{/privacy}","received_events_url":"https://api.github.com/users/Hiker-Hope/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper","description":"A swiper for text stories","fork":false,"url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper","forks_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/forks","keys_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/teams","hooks_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/hooks","issue_events_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/events{/number}","events_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/events","assignees_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/assignees{/user}","branches_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/branches{/branch}","tags_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/tags","blobs_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/languages","stargazers_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/stargazers","contributors_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/contributors","subscribers_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/subscribers","subscription_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/subscription","commits_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/contents/{+path}","compare_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/merges","archive_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/downloads","issues_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues{/number}","pulls_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/labels{/name}","releases_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/releases{/id}","deployments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/deployments","created_at":"2018-11-20T13:54:57Z","updated_at":"2018-11-21T00:32:52Z","pushed_at":"2018-11-21T12:14:02Z","git_url":"git://github.com/Hiker-Hope/Text-Stories-Swiper.git","ssh_url":"git@github.com:Hiker-Hope/Text-Stories-Swiper.git","clone_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper.git","svn_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper","homepage":"","size":643,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Hiker-Hope:master","ref":"master","sha":"24b080ff3a0466a210c5d98ef6e15c095c31e160","user":{"login":"Hiker-Hope","id":40206776,"node_id":"MDQ6VXNlcjQwMjA2Nzc2","avatar_url":"https://avatars3.githubusercontent.com/u/40206776?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiker-Hope","html_url":"https://github.com/Hiker-Hope","followers_url":"https://api.github.com/users/Hiker-Hope/followers","following_url":"https://api.github.com/users/Hiker-Hope/following{/other_user}","gists_url":"https://api.github.com/users/Hiker-Hope/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiker-Hope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiker-Hope/subscriptions","organizations_url":"https://api.github.com/users/Hiker-Hope/orgs","repos_url":"https://api.github.com/users/Hiker-Hope/repos","events_url":"https://api.github.com/users/Hiker-Hope/events{/privacy}","received_events_url":"https://api.github.com/users/Hiker-Hope/received_events","type":"User","site_admin":false},"repo":{"id":158397481,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzOTc0ODE=","name":"Text-Stories-Swiper","full_name":"Hiker-Hope/Text-Stories-Swiper","private":false,"owner":{"login":"Hiker-Hope","id":40206776,"node_id":"MDQ6VXNlcjQwMjA2Nzc2","avatar_url":"https://avatars3.githubusercontent.com/u/40206776?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiker-Hope","html_url":"https://github.com/Hiker-Hope","followers_url":"https://api.github.com/users/Hiker-Hope/followers","following_url":"https://api.github.com/users/Hiker-Hope/following{/other_user}","gists_url":"https://api.github.com/users/Hiker-Hope/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiker-Hope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiker-Hope/subscriptions","organizations_url":"https://api.github.com/users/Hiker-Hope/orgs","repos_url":"https://api.github.com/users/Hiker-Hope/repos","events_url":"https://api.github.com/users/Hiker-Hope/events{/privacy}","received_events_url":"https://api.github.com/users/Hiker-Hope/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper","description":"A swiper for text stories","fork":false,"url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper","forks_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/forks","keys_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/teams","hooks_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/hooks","issue_events_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/events{/number}","events_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/events","assignees_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/assignees{/user}","branches_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/branches{/branch}","tags_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/tags","blobs_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/languages","stargazers_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/stargazers","contributors_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/contributors","subscribers_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/subscribers","subscription_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/subscription","commits_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/contents/{+path}","compare_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/merges","archive_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/downloads","issues_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues{/number}","pulls_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/labels{/name}","releases_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/releases{/id}","deployments_url":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/deployments","created_at":"2018-11-20T13:54:57Z","updated_at":"2018-11-21T00:32:52Z","pushed_at":"2018-11-21T12:14:02Z","git_url":"git://github.com/Hiker-Hope/Text-Stories-Swiper.git","ssh_url":"git@github.com:Hiker-Hope/Text-Stories-Swiper.git","clone_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper.git","svn_url":"https://github.com/Hiker-Hope/Text-Stories-Swiper","homepage":"","size":643,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1"},"html":{"href":"https://github.com/Hiker-Hope/Text-Stories-Swiper/pull/1"},"issue":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/1"},"comments":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Hiker-Hope/Text-Stories-Swiper/statuses/0e9721009245ebd2df4eba0ceff99bab82e9109d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ivandashk"}}