3 ms·
Building a native JS library for something that I only want in React sounds like it’d bring me no benefit for a lot of extra effort.
by Aeolun 4y ago
Building a native JS library for something that I only want in React sounds like it’d bring me no benefit for a lot of extra effort.
- jbverschoor 4y agoIf someone else has done this, you’d only have to create the react layer. That’s one of the benefits
- kklisura 4y agoYes - if you're building just for yourself, but if you're building an OSS library your _audience_ is now larger than just React one and you have potential benefit of writing a thin wrapper around it in some new framework (if React stops being _mainstream_). Writing a wrapper around it sounds better than rewriting a whole library.