{"id":25421785,"url":"https://github.com/rodrigoelp/reactnative-typescript-exercise-2","last_synced_at":"2026-05-05T14:33:38.857Z","repository":{"id":137673945,"uuid":"112732786","full_name":"rodrigoelp/reactnative-typescript-exercise-2","owner":"rodrigoelp","description":"Simple application, playing with buttons and button event handlers.","archived":false,"fork":false,"pushed_at":"2017-12-05T00:36:30.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T19:22:25.552Z","etag":null,"topics":["android","ios","learning","learning-by-doing","react-native","typescript"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/rodrigoelp.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,"zenodo":null}},"created_at":"2017-12-01T11:31:19.000Z","updated_at":"2018-09-20T17:22:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"f09d42d3-7103-44eb-bb63-eab840ed1934","html_url":"https://github.com/rodrigoelp/reactnative-typescript-exercise-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rodrigoelp/reactnative-typescript-exercise-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Freactnative-typescript-exercise-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Freactnative-typescript-exercise-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Freactnative-typescript-exercise-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Freactnative-typescript-exercise-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigoelp","download_url":"https://codeload.github.com/rodrigoelp/reactnative-typescript-exercise-2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Freactnative-typescript-exercise-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","ios","learning","learning-by-doing","react-native","typescript"],"created_at":"2025-02-16T20:50:09.870Z","updated_at":"2026-05-05T14:33:38.850Z","avatar_url":"https://github.com/rodrigoelp.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Responding to actions\n\nAfter writing the very well known \"Hello World\", I wondered... How should I start cleaning my code and increasing the complexity?\n\nSo, adding a few buttons should make things a bit more interesting (in preparation for a todo list or a master detailed app).\n\nThis `Actions` app gives you options and you should answer properly to the question.\n\n## What will I find here?\n\n- A simple app with three buttons and a question.\n- Providing an answer will give you a message.\n- Restructured code to extract in a neater way resources and other components. For Instance, decided to not use the standard `Button` and implemented mine (not an original idea, plenty of other places where the author is doing something similar); the idea is to have a square area to tap on as opposed to a link-ish button.\n\n## I want to play with this code\n\n1. Clone this repo `git clone git@github.com:rodrigoelp/reactnative-typescript-exercise-2.git actions` (`actions` is the name of the local folder, change it to whatever floats your boat)\n1. Open a terminal and enter `$\u003e cd actions/`\n1. Then `$\u003e npm install` (this will set up the dependencies for your project. I am going to start recommending you to use `yarn` - [instructions on how to install it](https://yarnpkg.com/lang/en/docs/install/))\n1. To start React-Native packager type: `$\u003e react-native start` (it will block the terminal as it will be running a web server)\n1. In a new terminal type in the same folder: `$\u003e react-native run-ios` or `$\u003e react-native run-android` (depends on the version you want to run)\n\n## What if I am using vscode?\n\nI haven't provided a configuration for you to run it, but is not hard to configure it. Just install the `vscode react native tools` [instructions available here](https://github.com/Microsoft/vscode-react-native). This link will also explain how to configure that .vscode folder (is all automatic, don't be afraid!)\n\n## Interesting to note\n\nIf you choose the middle option, there is no second `alert` shown after the original has triggered... Wonder what is going on there...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Freactnative-typescript-exercise-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigoelp%2Freactnative-typescript-exercise-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Freactnative-typescript-exercise-2/lists"}