RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://rocketchat.github.io/EmbeddedChat/docs
122 stars 240 forks source link

`legacy contextAPI` warning using emoji-picker-reactv2 (Update emoji-picker-react to v3) #17

Open sidmohanty11 opened 2 years ago

sidmohanty11 commented 2 years ago

Tech-debt:

We are currently using JoyPixels emoji set which is also used in RocketChat.

But,

We are using v2 of emoji-picker-react, which is no longer maintained. It warns us showing that legacy contextAPI is not recommended to use in React.StrictMode environment.

Possible Approaches:

ShreyanshKeshav33 commented 1 year ago

So what do you propose?

sidmohanty11 commented 1 year ago

@ShreyanshKeshav33 I think maybe we should create our own custom EmojiPicker component, what do you think?

ShreyanshKeshav33 commented 1 year ago

@sidmohanty11 Are you suggesting to use or make another library other than this?!