{"id":16005657,"url":"https://github.com/nikku/virtual-dom-web-test","last_synced_at":"2025-03-23T06:25:48.212Z","repository":{"id":66099808,"uuid":"47767939","full_name":"nikku/virtual-dom-web-test","owner":"nikku","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-16T16:02:50.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T13:17:50.159Z","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/nikku.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}},"created_at":"2015-12-10T14:44:43.000Z","updated_at":"2015-12-10T14:44:59.000Z","dependencies_parsed_at":"2023-02-19T23:30:43.792Z","dependency_job_id":null,"html_url":"https://github.com/nikku/virtual-dom-web-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fvirtual-dom-web-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fvirtual-dom-web-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fvirtual-dom-web-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fvirtual-dom-web-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikku","download_url":"https://codeload.github.com/nikku/virtual-dom-web-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245063768,"owners_count":20555006,"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":[],"created_at":"2024-10-08T11:20:32.784Z","updated_at":"2025-03-23T06:25:48.177Z","avatar_url":"https://github.com/nikku.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# virtual-dom-web-test\n\nA simple client side web application testing [virtual-dom](https://github.com/Matt-Esch/virtual-dom) for application development.\n\n\n## Develop\n\n```\n# spin up server\nnpm run dev\n\n# run tests\nnpm test\n\n# bundle\nnpm run build\n```\n\n\n## Structure\n\n```\nclient\n├── lib\n│   ├── app                         \u003c-- application components\n│   │   ├── index.js\n│   │   ├── Log.js\n│   │   └── tabs\n│   │       └── ...\n│   ├── base                        \u003c-- base components\n│   │   ├── Actions.js\n│   │   ├── BaseComponent.js\n│   │   └── components\n│   │       └── ...\n│   ├── index.html                  \u003c-- HTML\n│   ├── index.js                    \u003c-- JS (bootstrapping code)\n│   ├── style.less                  \u003c-- CSS (bootstrapping)\n│   ├── util\n│   │   ├── bind.js\n│   │   ├── ensure-opts.js\n│   │   ├── has-property.js\n│   │   └── slice.js\n│   └── vdom                        \u003c-- virtual-dom helpers\n│       ├── create-component.js\n│       ├── h.js\n│       └── hooks\n│           └── ...\n└── test\n    ├── config\n    │   └── karma.unit.js\n    ├── helper\n    │   └── ...\n    └── spec\n        └── BpmnTabSpec.js\n```\n\n\n## Notes\n\n* State may be [handled by the app](https://github.com/nikku/virtual-dom-web-test/blob/master/client/lib/app/index.js#L27) and [propagated down to components](https://github.com/nikku/virtual-dom-web-test/blob/master/client/lib/app/index.js#L210)\n* State may be [handled in a component](https://github.com/nikku/virtual-dom-web-test/blob/master/client/lib/app/tabs/views/BpmnEditor.js#L23), too (allowing decoupling + independent components)\n* [App](https://github.com/nikku/virtual-dom-web-test/blob/master/client/lib/app/index.js#L104) is an event emitter and hooks up all other components through life-cycle events\n* Only sparse use of inheritance at the moment, the most simply component can simply expose a `#render` method in order to plug into the application\n* Other functionality, such as external libraries for dialogs and stuff can simply be added _outside_ the application\n* Testing works work via [shadom dom testing](https://github.com/nikku/virtual-dom-web-test/blob/master/client/test/spec/app/tabs/views/BpmnEditorSpec.js#L46)\n\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fvirtual-dom-web-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikku%2Fvirtual-dom-web-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fvirtual-dom-web-test/lists"}