No repository is selected
- )} -diff --git a/ThirdPartyNotices.txt b/ThirdPartyNotices.txt index 3a89fcc45732e..e4da4e0a9511b 100644 --- a/ThirdPartyNotices.txt +++ b/ThirdPartyNotices.txt @@ -17,22 +17,23 @@ This project incorporates components from the projects listed below. 12. @opentelemetry/resources version 1.30.1 (https://github.com/open-telemetry/opentelemetry-js) 13. @opentelemetry/sdk-trace-base version 1.30.1 (https://github.com/open-telemetry/opentelemetry-js) 14. @opentelemetry/semantic-conventions version 1.28.0 (https://github.com/open-telemetry/opentelemetry-js) -15. @shoelace-style/shoelace version 2.19.1 (https://github.com/shoelace-style/shoelace) -16. @vscode/codicons version 0.0.36 (https://github.com/microsoft/vscode-codicons) -17. billboard.js version 3.14.3 (https://github.com/naver/billboard.js) -18. https-proxy-agent version 5.0.1 (https://github.com/TooTallNate/node-https-proxy-agent) -19. iconv-lite version 0.6.3 (https://github.com/ashtuchkin/iconv-lite) -20. lit version 3.2.1 (https://github.com/lit/lit) -21. marked version 15.0.6 (https://github.com/markedjs/marked) -22. microsoft/vscode (https://github.com/microsoft/vscode) -23. node-fetch version 2.7.0 (https://github.com/bitinn/node-fetch) -24. os-browserify version 0.3.0 (https://github.com/CoderPuppy/os-browserify) -25. path-browserify version 1.0.1 (https://github.com/browserify/path-browserify) -26. react-dom version 19.0.0 (https://github.com/facebook/react) -27. react version 19.0.0 (https://github.com/facebook/react) -28. signal-utils version 0.21.1 (https://github.com/proposal-signals/signal-utils) -29. slug version 10.0.0 (https://github.com/Trott/slug) -30. sortablejs version 1.15.0 (https://github.com/SortableJS/Sortable) +15. @r2wc/react-to-web-component version 2.0.4 (https://github.com/bitovi/react-to-web-component) +16. @shoelace-style/shoelace version 2.19.1 (https://github.com/shoelace-style/shoelace) +17. @vscode/codicons version 0.0.36 (https://github.com/microsoft/vscode-codicons) +18. billboard.js version 3.14.3 (https://github.com/naver/billboard.js) +19. https-proxy-agent version 5.0.1 (https://github.com/TooTallNate/node-https-proxy-agent) +20. iconv-lite version 0.6.3 (https://github.com/ashtuchkin/iconv-lite) +21. lit version 3.2.1 (https://github.com/lit/lit) +22. marked version 15.0.6 (https://github.com/markedjs/marked) +23. microsoft/vscode (https://github.com/microsoft/vscode) +24. node-fetch version 2.7.0 (https://github.com/bitinn/node-fetch) +25. os-browserify version 0.3.0 (https://github.com/CoderPuppy/os-browserify) +26. path-browserify version 1.0.1 (https://github.com/browserify/path-browserify) +27. react-dom version 19.0.0 (https://github.com/facebook/react) +28. react version 19.0.0 (https://github.com/facebook/react) +29. signal-utils version 0.21.1 (https://github.com/proposal-signals/signal-utils) +30. slug version 10.0.0 (https://github.com/Trott/slug) +31. sortablejs version 1.15.0 (https://github.com/SortableJS/Sortable) %% @gk-nzaytsev/fast-string-truncated-width NOTICES AND INFORMATION BEGIN HERE ========================================= @@ -1324,6 +1325,136 @@ END OF @opentelemetry/sdk-trace-base NOTICES AND INFORMATION ========================================= END OF @opentelemetry/semantic-conventions NOTICES AND INFORMATION +%% @r2wc/react-to-web-component NOTICES AND INFORMATION BEGIN HERE +========================================= +# React to Web Component + +`@r2wc/react-to-web-component` converts [React](https://reactjs.org/) components to [custom elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements)! It lets you share React components as native elements that **don't** require being mounted through React. The custom element acts as a wrapper for the underlying React component. Use these custom elements with any project that uses HTML even in any framework (vue, svelte, angular, ember, canjs) the same way you would use standard HTML elements. + +> Note: The latest version of this package only works with the React 18. If you are using React 16 or 17, please use version 1. + +`@r2wc/react-to-web-component`: + +- Works in all modern browsers. (Edge needs a [customElements polyfill](https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements)). +- Is `1.26KB` minified and gzipped. + +## Setup + +To install from npm: + +``` +npm install @r2wc/react-to-web-component +``` + +## Need help or have questions? + +This project is supported by [Bitovi, a React consultancy](https://www.bitovi.com/frontend-javascript-consulting/react-consulting). You can get help or ask questions on our: + +- [Discord Community](https://discord.gg/J7ejFsZnJ4) +- [Twitter](https://twitter.com/bitovi) + +Or, you can hire us for training, consulting, or development. [Set up a free consultation.](https://www.bitovi.com/frontend-javascript-consulting/react-consulting) + +## Basic Use + +For basic usage, we will use this simple React component: + +```js +const Greeting = () => { + return
- Commit Graph
-
No repository is selected
- )} -
+ Commit Graph
+