{"id":20714006,"url":"https://github.com/dustturtle/rnweatherrevo","last_synced_at":"2026-04-18T21:04:41.156Z","repository":{"id":74191636,"uuid":"125047060","full_name":"dustturtle/RNWeatherRevo","owner":"dustturtle","description":"对RN实现的天气应用示例的重构（此demo主要演示了UI组件的嵌套使用等,这里的重构旨在增强可读性）","archived":false,"fork":false,"pushed_at":"2018-03-13T12:28:05.000Z","size":8679,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T06:49:53.714Z","etag":null,"topics":[],"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/dustturtle.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":"2018-03-13T12:18:54.000Z","updated_at":"2018-03-13T12:28:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a74cac67-ac76-4cb5-a7d6-ffdb979c200d","html_url":"https://github.com/dustturtle/RNWeatherRevo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dustturtle/RNWeatherRevo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustturtle%2FRNWeatherRevo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustturtle%2FRNWeatherRevo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustturtle%2FRNWeatherRevo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustturtle%2FRNWeatherRevo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustturtle","download_url":"https://codeload.github.com/dustturtle/RNWeatherRevo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustturtle%2FRNWeatherRevo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31984558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: 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":[],"created_at":"2024-11-17T02:28:41.337Z","updated_at":"2026-04-18T21:04:41.142Z","avatar_url":"https://github.com/dustturtle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RNWeatherRevo\nRN天气demo应用重构，用于演示UI组件的搭配和抽取，如何让代码层次结构清晰易于维护\n## 经过重构之后的代码可读性和维护性都大大增强。 \n结构分为4部分：\n1. 数据源，手写的mock数据  \n2. 抽取出来用于绘制的无状态组件，即一个个拆分出来的小渲染单元 \n3. 整个页面本身，其中使用了swiper和scroll搭建了页面框架\n4. 抽取出来的styles，也就是样式\n## 运行：通过expo, npm install-\u003e npm start 扫码即可在expo宿主环境中运行。\n\n## 原代码链接：https://github.com/fangwei716/30-days-of-react-native\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustturtle%2Frnweatherrevo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustturtle%2Frnweatherrevo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustturtle%2Frnweatherrevo/lists"}