{"action":"created","comment":{"url":"https://api.github.com/repos/18F/frontend/pulls/comments/173570827","pull_request_review_id":102792589,"id":173570827,"diff_hunk":"@@ -5,6 +5,14 @@ layout: docs\n sidenav: js\n ---\n # Frameworks\n+\n+**We recommend using [React]() for projects when possible.** As a team, we enjoy using React because it has a strong component model, enables easy server side rendering, and faciliates debugging by making the UI elements a function of the application state. React is most akin to the \"view layer\" in an MVC (Model-View-Controller) architecture and is frequently used with some other libraries. In our projects, we tend to use:","path":"pages/js/frameworks.md","position":5,"original_position":5,"commit_id":"959b87a2425e5edc13da2454dbfa43ec8f627b7a","original_commit_id":"959b87a2425e5edc13da2454dbfa43ec8f627b7a","user":{"login":"tbaxter-18f","id":32077682,"avatar_url":"https://avatars2.githubusercontent.com/u/32077682?v=4","gravatar_id":"","url":"https://api.github.com/users/tbaxter-18f","html_url":"https://github.com/tbaxter-18f","followers_url":"https://api.github.com/users/tbaxter-18f/followers","following_url":"https://api.github.com/users/tbaxter-18f/following{/other_user}","gists_url":"https://api.github.com/users/tbaxter-18f/gists{/gist_id}","starred_url":"https://api.github.com/users/tbaxter-18f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbaxter-18f/subscriptions","organizations_url":"https://api.github.com/users/tbaxter-18f/orgs","repos_url":"https://api.github.com/users/tbaxter-18f/repos","events_url":"https://api.github.com/users/tbaxter-18f/events{/privacy}","received_events_url":"https://api.github.com/users/tbaxter-18f/received_events","type":"User","site_admin":false},"body":"I see what you're saying, and it makes sense, but perhaps **We recommend using [React]() for projects when possible.**  is just a bit too strong. \r\n\r\nWhile I like React quite a bit, and think it's perfectly fine, I have two issues with it as a recommendation:\r\n\r\n1. Given Facebook's ethical and privacy issues and questionable trademark history, I'd be hesitant to hitch my wagon so directly to them.\r\n2. Due the well-documented APIs, there are a whole host of React-like alternatives, many of which are drop-in replacements with much smaller footprints. Preact is only one of many, and I just mentioned it because it's among the best known (although some others are catching up quick) More info: https://hackernoon.com/the-react-is-dead-long-live-the-react-e97eea715f1c\r\n\r\nMy suggestion would be something along the lines of **We recommend a React-compatible framework. We use React, but Preact, Inferno and others may be viable alternatives for your needs.** ","created_at":"2018-03-09T21:20:14Z","updated_at":"2018-03-09T21:20:15Z","html_url":"https://github.com/18F/frontend/pull/201#discussion_r173570827","pull_request_url":"https://api.github.com/repos/18F/frontend/pulls/201","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/18F/frontend/pulls/comments/173570827"},"html":{"href":"https://github.com/18F/frontend/pull/201#discussion_r173570827"},"pull_request":{"href":"https://api.github.com/repos/18F/frontend/pulls/201"}},"in_reply_to_id":173544694},"pull_request":{"url":"https://api.github.com/repos/18F/frontend/pulls/201","id":174086543,"html_url":"https://github.com/18F/frontend/pull/201","diff_url":"https://github.com/18F/frontend/pull/201.diff","patch_url":"https://github.com/18F/frontend/pull/201.patch","issue_url":"https://api.github.com/repos/18F/frontend/issues/201","number":201,"state":"open","locked":false,"title":"Update frameworks.md to suggest using React","user":{"login":"jeremiak","id":780941,"avatar_url":"https://avatars3.githubusercontent.com/u/780941?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremiak","html_url":"https://github.com/jeremiak","followers_url":"https://api.github.com/users/jeremiak/followers","following_url":"https://api.github.com/users/jeremiak/following{/other_user}","gists_url":"https://api.github.com/users/jeremiak/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiak/subscriptions","organizations_url":"https://api.github.com/users/jeremiak/orgs","repos_url":"https://api.github.com/users/jeremiak/repos","events_url":"https://api.github.com/users/jeremiak/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiak/received_events","type":"User","site_admin":false},"body":"We use React (and it seems like we really enjoy doing so!) so let's make our framework guidance reflect that.","created_at":"2018-03-09T19:20:00Z","updated_at":"2018-03-09T21:20:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ac81a88a9d793f6ee5a2065fcd7b3751fa7b7a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/frontend/pulls/201/commits","review_comments_url":"https://api.github.com/repos/18F/frontend/pulls/201/comments","review_comment_url":"https://api.github.com/repos/18F/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/frontend/issues/201/comments","statuses_url":"https://api.github.com/repos/18F/frontend/statuses/959b87a2425e5edc13da2454dbfa43ec8f627b7a","head":{"label":"18F:jk-frameworks","ref":"jk-frameworks","sha":"959b87a2425e5edc13da2454dbfa43ec8f627b7a","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":24612990,"name":"frontend","full_name":"18F/frontend","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/frontend","description":"18F's Front End Guild","fork":false,"url":"https://api.github.com/repos/18F/frontend","forks_url":"https://api.github.com/repos/18F/frontend/forks","keys_url":"https://api.github.com/repos/18F/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/frontend/teams","hooks_url":"https://api.github.com/repos/18F/frontend/hooks","issue_events_url":"https://api.github.com/repos/18F/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/18F/frontend/events","assignees_url":"https://api.github.com/repos/18F/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/18F/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/18F/frontend/tags","blobs_url":"https://api.github.com/repos/18F/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/frontend/languages","stargazers_url":"https://api.github.com/repos/18F/frontend/stargazers","contributors_url":"https://api.github.com/repos/18F/frontend/contributors","subscribers_url":"https://api.github.com/repos/18F/frontend/subscribers","subscription_url":"https://api.github.com/repos/18F/frontend/subscription","commits_url":"https://api.github.com/repos/18F/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/18F/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/frontend/merges","archive_url":"https://api.github.com/repos/18F/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/frontend/downloads","issues_url":"https://api.github.com/repos/18F/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/18F/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/frontend/labels{/name}","releases_url":"https://api.github.com/repos/18F/frontend/releases{/id}","deployments_url":"https://api.github.com/repos/18F/frontend/deployments","created_at":"2014-09-29T21:04:18Z","updated_at":"2018-01-08T08:45:13Z","pushed_at":"2018-03-09T20:58:07Z","git_url":"git://github.com/18F/frontend.git","ssh_url":"git@github.com:18F/frontend.git","clone_url":"https://github.com/18F/frontend.git","svn_url":"https://github.com/18F/frontend","homepage":"https://frontend.18f.gov/","size":886,"stargazers_count":119,"watchers_count":119,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":29,"open_issues":44,"watchers":119,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"a35281a1dcbd5148f6aef4687cc66d67d84f879a","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":24612990,"name":"frontend","full_name":"18F/frontend","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/frontend","description":"18F's Front End Guild","fork":false,"url":"https://api.github.com/repos/18F/frontend","forks_url":"https://api.github.com/repos/18F/frontend/forks","keys_url":"https://api.github.com/repos/18F/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/frontend/teams","hooks_url":"https://api.github.com/repos/18F/frontend/hooks","issue_events_url":"https://api.github.com/repos/18F/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/18F/frontend/events","assignees_url":"https://api.github.com/repos/18F/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/18F/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/18F/frontend/tags","blobs_url":"https://api.github.com/repos/18F/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/frontend/languages","stargazers_url":"https://api.github.com/repos/18F/frontend/stargazers","contributors_url":"https://api.github.com/repos/18F/frontend/contributors","subscribers_url":"https://api.github.com/repos/18F/frontend/subscribers","subscription_url":"https://api.github.com/repos/18F/frontend/subscription","commits_url":"https://api.github.com/repos/18F/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/18F/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/frontend/merges","archive_url":"https://api.github.com/repos/18F/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/frontend/downloads","issues_url":"https://api.github.com/repos/18F/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/18F/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/frontend/labels{/name}","releases_url":"https://api.github.com/repos/18F/frontend/releases{/id}","deployments_url":"https://api.github.com/repos/18F/frontend/deployments","created_at":"2014-09-29T21:04:18Z","updated_at":"2018-01-08T08:45:13Z","pushed_at":"2018-03-09T20:58:07Z","git_url":"git://github.com/18F/frontend.git","ssh_url":"git@github.com:18F/frontend.git","clone_url":"https://github.com/18F/frontend.git","svn_url":"https://github.com/18F/frontend","homepage":"https://frontend.18f.gov/","size":886,"stargazers_count":119,"watchers_count":119,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":29,"open_issues":44,"watchers":119,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/frontend/pulls/201"},"html":{"href":"https://github.com/18F/frontend/pull/201"},"issue":{"href":"https://api.github.com/repos/18F/frontend/issues/201"},"comments":{"href":"https://api.github.com/repos/18F/frontend/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/frontend/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/frontend/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/18F/frontend/statuses/959b87a2425e5edc13da2454dbfa43ec8f627b7a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tbaxter-18f"}}