{"id":41161041,"url":"https://github.com/xinhuang327/typed-dva","last_synced_at":"2026-01-22T19:23:17.283Z","repository":{"id":57383382,"uuid":"81515318","full_name":"xinhuang327/typed-dva","owner":"xinhuang327","description":"Unofficial Dva framework rewritten using Typescript","archived":false,"fork":false,"pushed_at":"2018-03-11T09:15:53.000Z","size":113,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T12:01:28.464Z","etag":null,"topics":["dva","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xinhuang327.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T02:00:35.000Z","updated_at":"2018-03-20T08:46:32.000Z","dependencies_parsed_at":"2022-09-01T04:40:49.749Z","dependency_job_id":null,"html_url":"https://github.com/xinhuang327/typed-dva","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xinhuang327/typed-dva","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinhuang327%2Ftyped-dva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinhuang327%2Ftyped-dva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinhuang327%2Ftyped-dva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinhuang327%2Ftyped-dva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xinhuang327","download_url":"https://codeload.github.com/xinhuang327/typed-dva/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinhuang327%2Ftyped-dva/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28669092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["dva","typescript"],"created_at":"2026-01-22T19:23:16.593Z","updated_at":"2026-01-22T19:23:17.278Z","avatar_url":"https://github.com/xinhuang327.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typed-Dva\nEvolve Dva's gene, in a Typescript way.\nOriginal project: https://github.com/dvajs/dva\n\n## Usage\n* npm install typed-dva\n\n```javascript\nimport dva from 'typed-dva'\nimport count from './models/count'\nimport router from './router'\nimport { browserHistory } from \"react-router\"\nimport { sagaMonitor } from \"./sagaMonitor\"\n\nconst app = dva({\n\thistory: browserHistory,\n\tsagaMonitor\n})\napp.model(model)\napp.router(router)\nlet renderFunc = app.start('#root')\n\n// for react-hot-loader\ndeclare var module: any\nif (module.hot) {\n\tmodule.hot.accept('./router_admin', () =\u003e {\n\t\trenderFunc(router_admin)\n\t})\n}\n```\n\n## Few Changes from Official Dva:\n* Needs explicitly importing from react-router, instead from dva/router\n* Needs explicitly importing from react-router-redux, instead of routerRedux from dva/router\n* Other improvements\n\n## Based on Dva commit: \n* 1.3.0-beta1\n* f5f8690d4f32fea23f4afbaf788e7981a0468a1f\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinhuang327%2Ftyped-dva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxinhuang327%2Ftyped-dva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinhuang327%2Ftyped-dva/lists"}