{"id":15874509,"url":"https://github.com/rudifa/from-web-component-to-lit-element","last_synced_at":"2025-04-01T23:21:07.592Z","repository":{"id":74523899,"uuid":"569481857","full_name":"rudifa/from-web-component-to-lit-element","owner":"rudifa","description":"Learning from codelab 'From Web Component to Lit Element'","archived":false,"fork":false,"pushed_at":"2022-11-22T23:32:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T15:13:34.923Z","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/rudifa.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":"2022-11-22T23:31:59.000Z","updated_at":"2022-11-22T23:32:15.000Z","dependencies_parsed_at":"2023-03-13T20:17:09.798Z","dependency_job_id":null,"html_url":"https://github.com/rudifa/from-web-component-to-lit-element","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/rudifa%2Ffrom-web-component-to-lit-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Ffrom-web-component-to-lit-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Ffrom-web-component-to-lit-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Ffrom-web-component-to-lit-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudifa","download_url":"https://codeload.github.com/rudifa/from-web-component-to-lit-element/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246725453,"owners_count":20823641,"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-06T01:40:31.679Z","updated_at":"2025-04-01T23:21:07.573Z","avatar_url":"https://github.com/rudifa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# From Web Component to Lit Element\n\n\u003e created with\n\u003e `npm create vite@latest from-web-component-to-lit-element`\n\nBased on code from the codelab [From Web Component to Lit Element](https://codelabs.developers.google.com/codelabs/the-lit-path).\n\nThe codelab shows how the LitElement abstracts away the details of the HTMLElement use, making the resulting web component code more compact and more expressive.\n\nI kept the 3 web component versions for easy comparison:\n\n- `rating-htmlelement` corresponds to the checkpoint in the step 7 of the codelab\n- `rating-htmlelement2` corresponds to the checkpoint in the step 8 of the codelab\n- `rating-litelement` corresponds to the checkpoint in the step 9 of the codelab\n\nIn the original codelab code the complcated interactions between the thumbs buttons and the rating provide an unnecessary distraction, so I simplified handling of these items.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudifa%2Ffrom-web-component-to-lit-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudifa%2Ffrom-web-component-to-lit-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudifa%2Ffrom-web-component-to-lit-element/lists"}