3 ms·
Why in the world everything needs to be made with react that makes it incompatible/hard to integrate with any other frameworks?
by ergo14 10y ago
Why in the world everything needs to be made with react that makes it incompatible/hard to integrate with any other frameworks?
- okket 10y agoIMHO because react is designed this way. It makes it easy to add to existing content, it is not an "opinionated" framework. This is great for getting quick results, but not for compatibility, easy source code navigation, etc. You can add these constraints later, but you will be on your own island. Maybe sometime a standard ("best current practices") emerges...
- ergo14 10y agoAt this point I have to use react more or less. It is a ghetto. React vs the world. I'd like to have more than one option to use here.
- bpizzi 10y agoObvious solution to your problem: write your own js component library. And don't forget to submit it to the HN crowd when you're done, you should get a very positive feedback.
- ergo14 10y agoThere are other solutions out there: polymer, skatejs, x-tags, vue, angular, aurelia. Some of them are more interoperable with others and can be use in multiple projects using different frameworks - I'd like this to be the norm.
- bpizzi 10y agoSo, to go back to your original post ('Why in the world everything needs to be made with react'): not everything is made for/with react, and you provided really good counterarguments againts yourself (polymer, vue, angular, etc). I still don't get the point you were trying to make (no offense really).
- swah 10y agoI have to say I dislike that aspect of using React as well. So many fine libraries (say https://github.com/dc-js/dc.js https://github.com/dc-js/dc.js) that I now have to "make it work with React".
- fiatjaf 10y agoIf you don't want to use React there's no point in using this framework. You can use other frameworks, the superpower of this one is the React integration.