3 ms·
Because React is a framework built around reusable components. As a React user I'm much less likely to use your library if there's no React bindings.
by ng12 8y ago
Because React is a framework built around reusable components. As a React user I'm much less likely to use your library if there's no React bindings.
- amelius 8y agoThat sounds a little selfish; think of people using other frameworks. Also, in this particular case, the graphics are simply two layers of SVG: an image of a ghost, backpack, browser, etc. and superimposed on top of that a "mood". You can compose these images with two lines of CSS, no React required.
- leppr 8y agoBut then it wouldn't make Hacker News front page would it ?
- mateuszf 8y ago> That sounds a little selfish; think of people using other frameworks. Or people using other frameworks could be not selfish and use React. If she/he's the one giving stuff for free - it's on her/his terms.
- slig 8y agoCan you share the two lines of CSS that would make something like this work? <div style="width: 200px" class="kawaii-backpack kawaii-happy"></div> or this: <div style="width: 200px"> <img src="kawaii-backpack.sgv" /> <img src="kawaii-happy.svg" /> </div> Edit: it should also work with a color user defined color.
- sydd 8y agoWebcomponents were invented to do this. You just need a polyfill for now.
- deleted 8y ago[deleted]