The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I have been using Flutter, a reactive cross-plattform mobile development framework for some months now. Hot Reloading where you save and run your app in one second is important to me. If I have to wait tre seconds to see the result, it is already too long. One bonus is that you now can run the same code to compile it to run on native Windows, the web, macOS, or Linux desktop. It is still not perfect but worth a try.
In React you need some good debugging tools and state management libraries. For small projects MobX is easy to set up and use. For big projects with a lot of programmers I would use Redux but it has a steep learning curve and every time you need to change something you have to edit a lot of files.
Yeah, I was enjoying hot module reload that was backed into .NET Core. Until they removed it.
I know you can work around that by wiring it up using Webpack and npm (or whatever) but it's a little frustrating to have to continually step outside Visual Studio for things that really should be baked into the system at this point.
The whole concept of updating a value (or wiring it up to a UI element so it can be updated) and having the changes propagate through the application without explicitly updating anything else is new and weird. But super convenient.
Isn't that what Windows bindings do?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
IMHO if you think React and Vue are nice, you will be amazed of how amazing Angular is.
Angular + RxJs (reactive framework) is the only valuable option for big/enterprise applications.
React and Vue work fine only for small applications.
The downside of Angular is the crazy-complex router and the learning curve due to RxJs.
React developers writing Angular code are a shame, as they don't want to learn a new sw paradigm, but their mental mindset doesn't fit with the Angular model (here comes some poor reviews about Ag).
A big React/Vue app after a while is a big ball of mud, while Angular keep the code pretty clean (apart the junior js developer hammering code copied from so...)
I agree about Angular. To me it is much nicer and works better. I don't like the things I have to do with React and those JS HTML template things (JSX) feel like coding with strings or copy paste type of structure. Devs can get so dependent upon creating HTML with JS. Blech!
I'd much rather see the JS DOM AppendChild() stuff. But I'm old and old school. I don't like programming with strings.
I really like them, and I think they are here to stay.
I use Angular, but heard Vue was the one to start with. Only trouble with Angular is how fast the updates roll out, and trying to keep up with them. It's become too expensive now keep an Angular project up to date with a small staff or as a single rogue developer. And the updates roll out so quick, that the internet gets polluted with help for older versions in which the help no longer applies.
Would be nice to get a discussion category for the topic.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
I'm still on the fence if I like these frameworks. I like the templating part for reusable code, I don't always like the code flow compared to plain JS. Debugging support can be super frustrating when the whole project brakes and It's doesn't tell you what caused it, but points to something completely unrelated.
I like the encapsulation of objects, and that it uses the shadow DOM. But finishing up a project I've noticed that the lines of code were over double on what would be needed for a plain asp.net or HTML/JS application.
Somethings are simpler in React, and some are way more difficult than it needs to be.
I might do another React project if the project was needing a high level complexity. But it doesn't make much sense for smaller basic sites (too much overhead).
When I adopted a pet rock from the rescue shelter, they told me he'd had a hard life.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Is That Ship Still Stuck?[^]
I usually do not forward facebook-like nonsense like this, but this one had me really laugh - I wondered this morning if they could move the vessel, googled it and came across the website, and was like, wow, others also wondered.
Two thoughts on the stuck ship:
1) Its somewhat surprising this doesn't happen more often
2) Has anyone considered unloading/relaoding? Float in a crane barge, unload the containers onto the shore or other barges - at some point, hopefully, there's enough mass removed the ship floats clear, then reload elsewhere. Seems simple enough to me. But maybe the logistics of unloading in the canal aren't viable.