{"id":16986769,"url":"https://github.com/maxigimenez/react-web-component","last_synced_at":"2025-04-05T17:45:17.033Z","repository":{"id":39174617,"uuid":"253250572","full_name":"maxigimenez/react-web-component","owner":"maxigimenez","description":"Expose web component using React","archived":false,"fork":false,"pushed_at":"2023-01-05T18:35:42.000Z","size":4260,"stargazers_count":1,"open_issues_count":19,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T14:57:47.018Z","etag":null,"topics":["custom-elements","react","react-component-boilerplate","react-components","react-web-component","typescript","web-components"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/maxigimenez.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":"2020-04-05T14:11:59.000Z","updated_at":"2023-03-07T16:55:55.000Z","dependencies_parsed_at":"2023-02-04T10:32:07.644Z","dependency_job_id":null,"html_url":"https://github.com/maxigimenez/react-web-component","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/maxigimenez%2Freact-web-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Freact-web-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Freact-web-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Freact-web-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxigimenez","download_url":"https://codeload.github.com/maxigimenez/react-web-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378092,"owners_count":20929293,"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":["custom-elements","react","react-component-boilerplate","react-components","react-web-component","typescript","web-components"],"created_at":"2024-10-14T02:46:53.777Z","updated_at":"2025-04-05T17:45:17.011Z","avatar_url":"https://github.com/maxigimenez.png","language":"TypeScript","readme":"# React Web Component\n\n**Disclaimer: I don't recommend to use this code for production widgets, this is was made for testing purpose**\n\n\u003e This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\nThe purpose of this repository is to have a simple boilerplate to create [web-components](https://www.webcomponents.org/) using React.\n\nAt the moment we cover some basics needs:\n\n- Full encapsulated CSS via the shadow-dom\n- [Build a single bundle](#yarn-buildbundle) in order of make the distribution easier.\n- Use [react-shadow-dom-retarget-events package](https://www.npmjs.com/package/react-shadow-dom-retarget-events) to be able of use React events.\n- Typescript 🚀\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn build:bundle`\n\nSame as `yarn build` but it generates an unique bundle file (`build/static/js/bundle.js`) in order to make the distribution of the web component more easy.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Freact-web-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxigimenez%2Freact-web-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Freact-web-component/lists"}