6 ms·
I've been through this source code, really clean and well written modern javascript (as far as I can tell). I was completely new to this whole webstack, learned
by codingslave 7y ago
I've been through this source code, really clean and well written modern javascript (as far as I can tell). I was completely new to this whole webstack, learned a ton about javascript and building front ends from this. I think an underrated way to get good at coding or even to learn whole new methods is to extend well written open source code. I find myself regularly working with high quality code off github, learning more from the developers on there than the developers I interact with at work.
- poeti8 7y agoHey, creator of Kutt here! Wanted you to know that I'm refactoring client side as well to use TypeScript and new React features like hooks to ditch Redux, and I'm really really excited to push this code into production, so much cleaner now. You check the progress here: https://github.com/thedevs-network/kutt/tree/feature/refactor-client https://github.com/thedevs-network/kutt/tree/feature/refacto...
- bisby 7y agoFor hosting this myself, the major 2 things I am seeing: this requires captcha it seems for link creation? I'm getting captcha errors. Would much prefer requires being signed in to work. And on that note, no easy ENV var type way to disable sign ups. I really like the concept, but would love it as private only.
- poeti8 7y agoIt's on my list and will implement it soon.
- antihero 7y agoWhy do you need to "ditch redux"? Redux is excellent. People aren't "overusing" it as we did previously, but it is still a very good way to manage data and state, and sagas etc are a great way to approach building clients for traditional APIs. There isn't really anything in pure hooks that can really replace it, performance wise. If you for some reason really dislike it, mobx-state-tree is probably the best contender to replace it.
- poeti8 7y agoIt really depends on the use case. For mine, too much time spending on writing boilerplate specially when used with TypeScript. Even mobx-state-tree seems too much for me. I went with something way simpler called "easy-peasy" alongside React Context and I'm very happy with them so far.