{"id":22125199,"url":"https://github.com/arwl2016/react-timer","last_synced_at":"2026-04-02T03:09:49.599Z","repository":{"id":84340879,"uuid":"79520621","full_name":"ARWL2016/react-timer","owner":"ARWL2016","description":"Udemy course projects - Andrew Mead: Complete React - Timer App","archived":false,"fork":false,"pushed_at":"2017-02-04T12:40:01.000Z","size":799,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T16:23:26.353Z","etag":null,"topics":["babel","express","karma","mocha","react","react-router","testing","webpack"],"latest_commit_sha":null,"homepage":null,"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/ARWL2016.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":"2017-01-20T03:16:14.000Z","updated_at":"2017-01-20T03:16:34.000Z","dependencies_parsed_at":"2023-07-06T22:16:01.140Z","dependency_job_id":null,"html_url":"https://github.com/ARWL2016/react-timer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ARWL2016/react-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARWL2016%2Freact-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARWL2016%2Freact-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARWL2016%2Freact-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARWL2016%2Freact-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ARWL2016","download_url":"https://codeload.github.com/ARWL2016/react-timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARWL2016%2Freact-timer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["babel","express","karma","mocha","react","react-router","testing","webpack"],"created_at":"2024-12-01T16:18:13.101Z","updated_at":"2026-04-02T03:09:49.584Z","avatar_url":"https://github.com/ARWL2016.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Complete React Developer Course - Timer App  \n\nhttp://desolate-hollows-74739.herokuapp.com/#/countdown?_k=7cmalg \nhttps://www.udemy.com/the-complete-react-web-app-developer-course/learn/v4/content \nhttps://github.com/ARWL2016/react-weather \n\n- Udemy   \n- Andrew Mead   \n- Section 8  \n\n**Technologies**  \n1. Express   \n2. React and React-Router    \n3. Foundation and Sass      \n4. Babel      \n5. Karma (6 modules)    \n6. Mocha     \n7. Webpack     \n\n**Notes**\n- This app demonstrates a Foundation navbar     \n- Styles are written in modular form to match React components    \n- Webpack is key to configuring styles and scripts    \n- Testing is a key focus in this section   \n- The TimerControl component is strictly speaking redundant - the Control function can be used by removing the if else condition   \n\n**Component Structure**  \n/ Main   \n..c Navigation  \n..ir. Timer   \n../countdown={Countdown}  \n....c Clock \n....c CountdownForm   \n\n**Countdown Functionality**  \n1. Countdown: countdownStatus initially set to 'stopped'   \n- Countdown renders \u003cClock totalSeconds={this.state.count}/\u003e - display component  \n- Countdown conditionally renders \u003cCountdownForm onSetCountdown={this.handleSetCountdown}/\u003e  \n2. \u003cCountdownForm\u003e collects value and calls onSetCountdown  \n3. \u003cCountdown\u003e handleSetCountdown sets state of count + countdownStatus to 'started'\n- \u003cCountdown\u003e componentDidUpdate registers status change and starts calls startTimer()  \n- startTimer() updates the state each second   \n- \u003cCountdown\u003e renders the \u003cClock\u003e and the \u003cControls\u003e (conditionally) passing in the countdownStatus string and onStatusChange func as props  \n4. \u003cControl\u003e renders the Pause button (conditionally) and the Clear button - both with onStatusChange function attached  \n- User clicks Pause:\n5. \u003cCountdown\u003e handleStatusChange() sets new countDownStatus to pause\n- \u003cCountdown\u003e renders \u003cClock\u003e and \u003cControls\u003e with new countdownStatus\n   ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farwl2016%2Freact-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farwl2016%2Freact-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farwl2016%2Freact-timer/lists"}