This diff extracts markdown-link.react.js code to markdown-utils.js. This code is going to be reused in markdown-chat-mention component.
Depends on D8834.
Differential D8844
[native] Refactor markdown-link component • patryk on Aug 17 2023, 1:55 AM. Authored by Tags None Referenced Files
Details
This diff extracts markdown-link.react.js code to markdown-utils.js. This code is going to be reused in markdown-chat-mention component. Depends on D8834. Tested later in the stack.
Diff Detail
Event TimelineComment Actions We have an agreement in our team that if we are moving some code, we should first move it and change it in next diff, becuse moving and changing in one diff makes it hard to review. You can see in this diff that it looks on phabricator as if you removed useHandleLinkClick function, and you didn't do that
|