mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
698470fdd68dff63c8688742548e07a8ba4fe3cb
Fixes https://github.com/facebook/react/issues/26500 ## Summary - No more using `clipboard-js` from the backend side, now emitting custom `saveToClipboard` event, also adding corresponding listener in `store.js` - Not migrating to `navigator.clipboard` api yet, there were some issues with using it on Chrome, will add more details to https://github.com/facebook/react/pull/26539 ## How did you test this change? - Tested on Chrome, Firefox, Edge - Tested on standalone electron app: seems like context menu is not expected to work there (cannot right-click on value, the menu is not appearing), other logic (pressing on copy icon) was not changed DiffTrain build for commit https://github.com/facebook/react/commit/21021fb0f06f5b8ccdad0774d53ff5f865faeb6d.
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%