Remove dangerous derived state from RichText (#3007)
* Remove facet resolution from RichText * Remove derived state
This commit is contained in:
parent
603f3c0be9
commit
2d14d0e2db
2 changed files with 8 additions and 23 deletions
|
@ -22,12 +22,14 @@ export function Typography() {
|
|||
<Text style={[a.text_2xs]}>atoms.text_2xs</Text>
|
||||
|
||||
<RichText
|
||||
resolveFacets
|
||||
// TODO: This only supports already resolved facets.
|
||||
// Resolving them on read is bad anyway.
|
||||
value={`This is rich text. It can have mentions like @bsky.app or links like https://bsky.social`}
|
||||
/>
|
||||
<RichText
|
||||
selectable
|
||||
resolveFacets
|
||||
// TODO: This only supports already resolved facets.
|
||||
// Resolving them on read is bad anyway.
|
||||
value={`This is rich text. It can have mentions like @bsky.app or links like https://bsky.social`}
|
||||
style={[a.text_xl]}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue