{"id":22679266,"url":"https://github.com/cliffhall/iterating-react-design","last_synced_at":"2025-06-30T23:41:09.027Z","repository":{"id":148697926,"uuid":"187412824","full_name":"cliffhall/iterating-react-design","owner":"cliffhall","description":"Final code for \"Iterating a React Design with Styled Components\" article on CSS-Tricks","archived":false,"fork":false,"pushed_at":"2019-05-20T19:31:14.000Z","size":334,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T09:39:55.226Z","etag":null,"topics":["bootstrap","css-in-js","javascript","react-bootstrap","reactjs","styled-components"],"latest_commit_sha":null,"homepage":"https://css-tricks.com/iterating-a-react-design-with-styled-components/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cliffhall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-18T23:01:10.000Z","updated_at":"2023-05-30T10:37:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a8c1edc-d428-4660-92e5-d3cc5abdbbc6","html_url":"https://github.com/cliffhall/iterating-react-design","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffhall%2Fiterating-react-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffhall%2Fiterating-react-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffhall%2Fiterating-react-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffhall%2Fiterating-react-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliffhall","download_url":"https://codeload.github.com/cliffhall/iterating-react-design/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586239,"owners_count":21128995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css-in-js","javascript","react-bootstrap","reactjs","styled-components"],"created_at":"2024-12-09T18:25:55.237Z","updated_at":"2025-04-12T14:54:35.519Z","avatar_url":"https://github.com/cliffhall.png","language":"JavaScript","readme":"# Iterating a React Design - Final Codebase\n## What is this?\nIn my article [Iterating a React Design with Styled Components](https://css-tricks.com/iterating-a-react-design-with-styled-components/), I create a booking page for a fictional space travel agency called Solar Excursions. The small, resource-starved dev team wants to create their own styling and components, but needs to deliver functionality in the short term. \n\nThey choose to move quickly at first by using React-Bootstrap just to get something up on the screen. After their [first sprint](https://codesandbox.io/s/38my744q5m), they have a working, responsive page. However they see that they're building technical debt by having all their application components depend on React-Bootstrap, which will make it hard to refactor out later. \n\nDuring the [second sprint](https://codesandbox.io/s/xlrvn41n6p), they refactor to create a custom component kit. At first it just renames existing React-Bootstrap components, leaving the app looking the same. But now they've isolated the React-Bootstrap dependency to their kit. \n\nFinally, in their [third sprint](https://codesandbox.io/s/j7w7v4k67y), they add support for per-destination themes, and custostm styles that don't look like out-of-box React-Bootstrap anymore. \n\nView the final page [here](https://j7w7v4k67y.codesandbox.io/).\n\n![Solar Excursions](SolarExcursions.png)\n\n# Setup\n## Install Node and npm\n[Node](https://nodejs.org/en/download/) 10.15 or above (also installs npm)\n\n## Install Node modules\n`cd path/to/iterating-react-design`\n\n`npm install`\n\n## Build and Launch\n`npm run start`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffhall%2Fiterating-react-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliffhall%2Fiterating-react-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffhall%2Fiterating-react-design/lists"}