The component now takes all the data needed via props and calls utility functions wrapped in useMemo.
Moved type exports to utility file in previous diff.
Details
Details
Component not rendered yet, but tested visibility.
App builds.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/chat/mention-suggestion-tooltip.react.js | ||
---|---|---|
24 ↗ | (On Diff #18819) | This isn't too useful for the component. It's hard to deduce what's inside of it without checking all the usages. It's more maintainable to simply pass the strings instead. |
web/chat/mention-suggestion-tooltip.react.js | ||
---|---|---|
24 ↗ | (On Diff #18819) | Changed it so that component receives 3 strings instead. |
web/chat/mention-suggestion-tooltip.react.js | ||
---|---|---|
24 ↗ | (On Diff #18819) | How about going to step further and using TypeaheadMatchedStrings from the next diff? |