{"id":16232496,"url":"https://github.com/geocine/web-components-hooks-demo","last_synced_at":"2025-03-19T14:31:14.018Z","repository":{"id":47408933,"uuid":"174536608","full_name":"geocine/web-components-hooks-demo","owner":"geocine","description":"web components hooks demo","archived":false,"fork":false,"pushed_at":"2025-03-15T08:08:55.000Z","size":82,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T08:18:41.300Z","etag":null,"topics":["context-api","css-in-js","hacktoberfest","hooks","parceljs","routing","web-components"],"latest_commit_sha":null,"homepage":"https://web-components-hooks.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geocine.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":"2019-03-08T12:47:33.000Z","updated_at":"2025-03-15T08:08:58.000Z","dependencies_parsed_at":"2022-08-23T00:10:37.636Z","dependency_job_id":null,"html_url":"https://github.com/geocine/web-components-hooks-demo","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/geocine%2Fweb-components-hooks-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocine%2Fweb-components-hooks-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocine%2Fweb-components-hooks-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocine%2Fweb-components-hooks-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geocine","download_url":"https://codeload.github.com/geocine/web-components-hooks-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244444579,"owners_count":20453747,"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":["context-api","css-in-js","hacktoberfest","hooks","parceljs","routing","web-components"],"created_at":"2024-10-10T13:09:14.963Z","updated_at":"2025-03-19T14:31:14.014Z","avatar_url":"https://github.com/geocine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Components + Hooks Demo\n\nThis demonstrates a basic shopping cart built using Web Components. It also has State Management, Routing, CSS-in-JS and *does not need a build step*.\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://github.com/user-attachments/assets/d34bc8b5-da14-4592-9fb4-82ee438992cf\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\nTechnologies used:\n- Web Components through [lit-html](https://github.com/Polymer/lit-html)\n- Hooks through [haunted](https://github.com/matthewp/haunted)\n- Context API through [haunted](https://github.com/matthewp/haunted)\n- Routing through [navigo](https://github.com/krasimir/navigo)\n- CSS-in-JS through [goober](https://github.com/cristianbote/goober)\n\n### Usage\n\nThis [demo](https://web-components-hooks.netlify.com/) runs without a build step. \n\n### Development\nJust run on a webserver with `index.html` as a fallback page. I suggest using [lite-server](https://github.com/johnpapa/lite-server) on root directory. The `yarn start` script uses `lite-server`.\n\n```sh\nyarn\nyarn start\n```\n\nIf you are serving this on a different `host:port` make sure to replace all instances of \n```\nhttp://localhost:3000\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocine%2Fweb-components-hooks-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocine%2Fweb-components-hooks-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocine%2Fweb-components-hooks-demo/lists"}