Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
casesandberg.github.io
Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
1–9 of 9 posts
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#2I am seeing css styles in javascript more and more now. Is this a performance thing?
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#3Did you get permission from Slack to rip off their emoji picker like this?
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#4I am seeing css styles in javascript more and more now. Is this a performance thing?
I believe it's more of a convenience, and React-based projects are setup for it. You can avoid dealing with the global cascade and there's no need to maintain a parallel set of files for styling; it's all in the JavaScript.
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#5Did you get permission from Slack to rip off their emoji picker like this?
Along the same lines, did you get permission from Henry to use his name?
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#6I am seeing css styles in javascript more and more now. Is this a performance thing?
Worth noting that the same author created a fairly popular library for JS styles: https://github.com/casesandberg/reactcss
It's more about getting locally-scoped, composable CSS than performance. It's similar in concept to CSS Modules.
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#7Glitchy in Firefox 47, Ubuntu 15.10
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#8Did you get permission from Slack to rip off their emoji picker like this?
It's like 95% similar to the builtin mac picker. (ctrl+command+space)
Re: Show HN: React Reactions – Slack, Pokemon, GitHub, Facebook and YouTube Pickers
#9Glitch in chrome: https://share.viewedit.com/hpHseCYcRVRFowSoxWEV2H