Comments (2)
-
Most of the size of the package is the emoji dataset. I tried to make it as small as possible by trimming down, and minifying all object properties. If you have a way to significantly reduce the size further-down, I'd love to support this PR. https://github.com/ealush/emoji-picker-react/blob/master/src/data/emojis.json
-
The picker makes use of many browser APIs, it appends styles to the DOM, and makes very little sense on the server. If you need it on the server (why, though?), I would suggest creating a PR that adds a separate dist file, without a CSS import, that adds the css separately (you would need to import it yourself in your app). This way it would work on the server.
from emoji-picker-react.
The picker makes use of many browser APIs, it appends styles to the DOM, and makes very little sense on the server. If you need it on the server (why, though?), I would suggest creating a PR that adds a separate dist file, without a CSS import, that adds the css separately (you would need to import it yourself in your app). This way it would work on the server.
@ealush But appending styles to the DOM, does not break the server side rendering. Of course, if you use classList
API, it would, but there is no need for that, while using JSX 🤔
If you need it on the server (why, though?)
To make app faster and to reduce the JS that needs to be fetched to use the application.
from emoji-picker-react.
Related Issues (20)
- unicode emojis HOT 2
- Disabling categories selection if only 1 category selected
- Custom Emoji not render HOT 4
- How to disable additional emojis in reactions mode HOT 2
- Change emoji section icon color? HOT 3
- The EmojiPicker caches the old onEmojiClick method HOT 3
- Incorrect keyboard navigation from categories to the emoji list
- EmojiPicker extremely slow on Safari HOT 8
- Optimize rendering by using react-virtuoso HOT 1
- Close picker back to reactions view after emoji selection HOT 4
- Unit tests failing as of 4.9.1
- Feature request: Possible to globally exclude certain emoji? HOT 4
- [object PointerEvent] HOT 1
- Making emojis in the "Reactions" (as well as the {+} button) selectable via arrow keys and have the first one autofocused/selected
- The active or focus state does not correct when use select index + 1
- aria-controlled validation
- Feature Request: bundled data
- Emoji are not appearing properly in Windows Chrome Browser HOT 1
- Some emojis are not working HOT 6
- hiddenEmojis vs suggested Emojis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emoji-picker-react.