{"id":20060678,"url":"https://github.com/ficusjs/ficusjs-counter-examples","last_synced_at":"2025-03-02T10:14:26.358Z","repository":{"id":52977423,"uuid":"303719578","full_name":"ficusjs/ficusjs-counter-examples","owner":"ficusjs","description":"Examples of building web components with FicusJS","archived":false,"fork":false,"pushed_at":"2021-09-15T05:24:24.000Z","size":241,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-12T22:14:45.534Z","etag":null,"topics":["ficusjs","web-components"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ficusjs.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":"2020-10-13T13:53:30.000Z","updated_at":"2021-09-15T05:20:19.000Z","dependencies_parsed_at":"2022-08-30T23:50:32.913Z","dependency_job_id":null,"html_url":"https://github.com/ficusjs/ficusjs-counter-examples","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/ficusjs%2Fficusjs-counter-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ficusjs%2Fficusjs-counter-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ficusjs%2Fficusjs-counter-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ficusjs%2Fficusjs-counter-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ficusjs","download_url":"https://codeload.github.com/ficusjs/ficusjs-counter-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241488201,"owners_count":19970829,"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":["ficusjs","web-components"],"created_at":"2024-11-13T13:16:17.219Z","updated_at":"2025-03-02T10:14:26.332Z","avatar_url":"https://github.com/ficusjs.png","language":"HTML","readme":"# FicusJS counter examples\n\nInspired by [Webcomponents.dev](https://webcomponents.dev/) [_All the Ways to Make a Web Component_](https://webcomponents.dev/blog/all-the-ways-to-make-a-web-component/),\nthis is a comparison of coding style, bundle size and performance of 4 different ways to make a Web Component with [FicusJS](https://github.com/ficusjs/ficusjs)!\n\n## Summary\n\nThe same `\u003cmy-counter /\u003e` web component has been written 4 times in [FicusJS](https://github.com/ficusjs/ficusjs) using different renderers.\n\nThe renderers used are:\n\n- Built-in element renderer\n- [htm](https://www.npmjs.com/package/htm)\n- [htm](https://www.npmjs.com/package/htm) with [Preact](https://www.npmjs.com/package/preact)\n- [lit-html](https://www.npmjs.com/package/lit-html)\n- [uhtml](https://www.npmjs.com/package/uhtml)\n\n## Demo\n\n[https://ficusjs.github.io/ficusjs-counter-examples/](https://ficusjs.github.io/ficusjs-counter-examples/)\n\n## Getting started\n\n```sh\nnpm start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fficusjs%2Fficusjs-counter-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fficusjs%2Fficusjs-counter-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fficusjs%2Fficusjs-counter-examples/lists"}