It's great to someone express this point. Though it's hard to beat the convenience of dropping someone else's library into your codebase, each new dependency adds more security surface area and bloat to your application. I wish people considered this balance more carefully. In general I think a littlw NIH is a good thing. Even if there exists a library that does what you want, it might also include much more that you…
An idea of open source is that it's very likely that your own implementation is buggier, slower, and more poorly specified than the existing state of the art open source implementation. https://en.wikipedia.org/wiki/Wisdom_of_the_crowd https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
Why I Don't Use React Router
61–70 of 79 posts
Re: Why I Don't Use React Router
#62Earlier quoted context omitted.
What if there is a breaking change in lib3 and only lib2 upgrades? Does that mean lib1 can just never be used again because of something lib3 did?
If a new version of lib2 moves to a half-baked version of lib3, I want to stay on the old version of lib2 (and lib3) until the community agrees that the lib3 change is good and everyone has migrated to it. Having two different versions of lib3 in process is begging for bewildering bugs, and it was a serious mistake for npm to let that happen (much less by default!)
Re: Why I Don't Use React Router
#63Re: Why I Don't Use React Router
#64I really need to get my blog up and running so that I can write about things like this. My view is that dependencies are someone else's solution to my problem of technical debt. I'd be a straight-up liar if I claimed to be proud of every line of code I've written, either for an employer or for myself. Sometimes you just have to hammer a square peg into a round hole and be done with it because deadlines. Or lazy. Or b…
Re: Why I Don't Use React Router
#65Earlier quoted context omitted.
I didn't get my blog up and running until I a) started keeping a journal on 750words.com and b) started writing in a spiral-bound notebook every spare half-hour. Those two habits and https://blot.im made blogging nigh-effortless. Like dandruff, I get it for free.
Oh my problem isn't that at all. I have no problem writing endless amounts of crap that no one will ever read. It's just that I really care about my writing, and I want it to have a perfect home. So I'm constantly writing and rewriting blog engines. In this case, the perfect is the enemy of no one. A blog engine is the one side-project that I don't just hack. It's my one and only place for writing pure, elegant code.…
I am trying to get over this habit. Any advice/suggestions would be appreciated.
Re: Why I Don't Use React Router
#66I really need to get my blog up and running so that I can write about things like this. My view is that dependencies are someone else's solution to my problem of technical debt. I'd be a straight-up liar if I claimed to be proud of every line of code I've written, either for an employer or for myself. Sometimes you just have to hammer a square peg into a round hole and be done with it because deadlines. Or lazy. Or b…
Got an React project running for a year now. Hundred of deps. I just don't know anymore...
Last year Flummox got deprecated and we had to replace it with Redux, good times...
Re: Why I Don't Use React Router
#67I really need to get my blog up and running so that I can write about things like this. My view is that dependencies are someone else's solution to my problem of technical debt. I'd be a straight-up liar if I claimed to be proud of every line of code I've written, either for an employer or for myself. Sometimes you just have to hammer a square peg into a round hole and be done with it because deadlines. Or lazy. Or b…
I didn't get my blog up and running until I a) started keeping a journal on 750words.com and b) started writing in a spiral-bound notebook every spare half-hour. Those two habits and https://blot.im made blogging nigh-effortless. Like dandruff, I get it for free.
Re: Why I Don't Use React Router
#68Re: Why I Don't Use React Router
#69The only mention I can find is "But the API smelled funny to me, and had not settled, so I continued to wait" that hints that the API is changing and looks weird. But other than that, there is no constructive criticism here.
I'm all for being able to write freely about software we find bad, but without any concrete examples or even pointers to what is bad, I don't think this article have any merit (except that it's good to make sure you understand the dependencies you have).
Re: Why I Don't Use React Router
#70I might be missing something (after reading the article twice) but the author says nothing about why he doesn't use React Router... The only mention I can find is "But the API smelled funny to me, and had not settled, so I continued to wait" that hints that the API is changing and looks weird. But other than that, there is no constructive criticism here. I'm all for being able to write freely about software we find b…
EDIT: Additionally, I'm not saying React Router is bad per se, just that it's not fully baked. I'm glad to see people working on the problem. I look forward to leveraging the fruits of their labor in the future (in fact, I already do - I use the history library on which RR is built).