You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(emojis): restore reacting with any emoji via loadDefaultExtendedReactionOptions
The reaction selector's "+" (react with any emoji) was driven by
`reactionOptions.extended`, which the examples used to populate from the full
`@emoji-mart/data` via `mapEmojiMartData`. Removing emoji-mart left `extended`
empty, so only the handful of quick reactions showed — and, because
`useProcessReactions` renders a reaction only when its type is a known option,
arbitrary-emoji reactions could no longer be displayed either.
Add `loadDefaultExtendedReactionOptions()` to the `stream-chat-react/emojis`
entry: it builds the full extended map (every vendored emoji, keyed by unicode)
from the lazily code-split dataset, so importing it costs nothing until called
and the dataset never enters an app's initial bundle. Core stays emoji-free —
the loader lives in the opt-in emojis entry and only depends on the pure
`mapEmojiMartData` from core.
Wire it into the vite example (load + merge into reactionOptions.extended) and
document the pattern in AI.md.
0 commit comments