Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Ison1112yWhat's the stack you are trying to build it with?
@Ison Currently it's React (with TypeScript of course), Valtio (because it's way more straightforward and way simpler than Redux for such a small scale thing) and Material UI (something to step on because I absolutely suck at writing HTML and CSS by myself).
I'm a beginner with React (I haven't used it professionally), so maybe there are going to be some things that are not done the best way (from the perspective of React), but that's one way to learn I guess.
If you suck at writing HTML and CSS, then it seems to me as if you're trying to drive a car while not knowing how to really ride a bike.
You don't need to reach for a state management library if you barely have any state to manage (you said your app's scale is small - I assum that it's basic/simplistic in functionality). It's better to stick to what React itself provides (state hooks, React context) before reaching for libraries.
React is undoubtedly practical and popular, but it is a fairly serious tool. I'm confident in my belief that most people are overengineering their simple applications by thinking they need all these fairly advanced things just because "everyone is using them".
My advice is keep it as simple as possible. Don't solve problems that don't exist yet. If you make this project harder than it needs to be, then you're also making it harder for yourself to actually deliver something and to feel that accomplishment.
@Ison My point with HTML and CSS is that I spend way too much time for simple things - that's why I prefer using something tried and tested. Since the main thing on the site will be my own content, I'm not too concerned that the components themselves would look similar to something else; moreover they allow styling on top of them, so that's a possibility for a later point.
@Ison As for state management - sure I can do it in plain React, I just don't really like how it's done. Moreover I like this library's approach in particular. I've used NgRx in Angular before and it was kind of an overkill even for larger scale apps - mainly because it requires a lot of boilerplate code (and now that I got a refresher on Redux, I realised how similar they are - after all NgRx is modelled after Redux). Again - maybe it's not the best approach, but it works so far, and what's more important for me right now is that I'm comfortable with the stack enough to be able to focus on the logic and not spend time on thinking how exactly to implement it. A library would be an overkill if it gets in the way of the implementation or if it weighs the bundle too much - and right now I don't have a problem with either.
bittersweet20Be more passive I always get involved in everything, at every company. Not to further my career through ass-k...
Awlex2* Go to sleep at reasonable times * Watch some of those anime I never quite finished * Read more books * Becom...
Ranchonyx6Fix my depression Learn C++ properly Fix my life's future Try to pick up a relationship which I've dropped out...