A dead simple React Twemoji component.
npm install --save twemoji
A dead simple React Twemoji component.
npm install --save twemoji
// This is an example of how to fetch external data in response to updated props, | |
// If you are using an async mechanism that does not support cancellation (e.g. a Promise). | |
class ExampleComponent extends React.Component { | |
_currentId = null; | |
state = { | |
externalData: null | |
}; |