Click here to Skip to main content
15,887,485 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralRe: Progress and the death of cool code Pin
Bruce Patin8-Feb-24 5:07
Bruce Patin8-Feb-24 5:07 
GeneralRe: Progress and the death of cool code Pin
Gerry Schmitz8-Feb-24 10:24
mveGerry Schmitz8-Feb-24 10:24 
GeneralRe: Progress and the death of cool code Pin
englebart8-Feb-24 16:05
professionalenglebart8-Feb-24 16:05 
GeneralRe: Progress and the death of cool code Pin
dandy7213-Feb-24 10:42
dandy7213-Feb-24 10:42 
GeneralRe: Progress and the death of cool code Pin
honey the codewitch13-Feb-24 12:41
mvahoney the codewitch13-Feb-24 12:41 
GeneralRe: Progress and the death of cool code Pin
dandy7214-Feb-24 3:48
dandy7214-Feb-24 3:48 
RantReact and Material UI PinPopular
Marc Clifton7-Feb-24 3:35
mvaMarc Clifton7-Feb-24 3:35 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:16
professionalJeremy Falcon7-Feb-24 6:16 
Marc Clifton wrote:
Pretty much despise both.
Well, I agree with you in regards to Material UI. Or any JS "CSS" framework that does more harm than good. I don't know why, but devs will do anything to avoid learning CSS. IMO they should go be a farmer if they hate CSS that much. But it gets even worse when you add a JS layer for CSS on top it - your styles run much slower. Don't get me started on that.

But, React is awesome. Granted, sometimes it seems like every release changes things, but it's still a great framework. Any issues you got from it, I can promise is a result of not fully understanding the JS way of life. Which is, let's just call it "different". Smile | :)

Marc Clifton wrote:
React: Really, no two-way data binding?


I think you're confusing React with Redux here, but unidirectional data binding is a good thing. Two-way data binding is slow and meant for people who don't want to learn. Redux was originally inspired by Facebook's Flux, which also used a concept of unidirectional data binding. React itself works no different than any other component-based architecture, including native web components (which was inspired by React).

Marc Clifton wrote:
And then, there's the "old" way of using React, with classes and super(props, state and the "new" way with "hooks": "Classes can be reused by using higher-order components (HOCs) or render properties. Hooks came into use later and offer a simpler and more logical approach to writing components." So which style to use? I'm not keen on hooks because I like to contain things in classes - with hooks, everything is functions, from what I see. Blech.


The old way isn't the OOP way. The old way was using lifecycle methods. They tried the OOP way. The community rejected it. They moved to hooks. Hooks will be supercceded btw, but that's a different story for a different day. But, make no mistake the vast, vast majority of hardcore JS devs prefer a functional paradigm. Clearly you don't, so look inward if you hate change that much. Laugh | :laugh:

That being said, there's absolutely nothing preventing you from using the OOP way Marc. It's still there. Come on Marc, do better than junior-type rants.

Marc Clifton wrote:
And using React with third party components like jqxWidgets requires various components be "ref'd" because setting a specific state field appears to update all the state fields,


Do you blame Microsoft when a lousy app gets released on Windows? Why do you not have the same level of consideration here? Why the hypocrisy? Stop using jqx. React is the most popular framework for the web. There will be crappy libraries out there.

Marc Clifton wrote:
And don't even get me started on using react-router which then requires (according to SO) that everything now be children of HashRouter instead of BrowserRouter which means hashes in the URL's.


Before I even begin here, just stop and think. Do you really think hashtags are required for all URLs? Really? Do a little more recon before ranting man. Dunno why all the angst. Your puppy bang its toe or something?
Jeremy Falcon


modified 7-Feb-24 12:26pm.

GeneralRe: React and Material UI Pin
Chris Maunder7-Feb-24 7:02
cofounderChris Maunder7-Feb-24 7:02 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:13
professionalJeremy Falcon7-Feb-24 9:13 
GeneralRe: React and Material UI Pin
Marc Clifton7-Feb-24 8:08
mvaMarc Clifton7-Feb-24 8:08 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:25
professionalJeremy Falcon7-Feb-24 9:25 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:40
professionalJeremy Falcon7-Feb-24 6:40 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 6:46
professionalJeremy Falcon7-Feb-24 6:46 
GeneralRe: React and Material UI Pin
snorkie7-Feb-24 7:26
professionalsnorkie7-Feb-24 7:26 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:03
professionalJeremy Falcon7-Feb-24 9:03 
GeneralRe: React and Material UI Pin
pkfox7-Feb-24 10:55
professionalpkfox7-Feb-24 10:55 
GeneralRe: React and Material UI Pin
jmaida7-Feb-24 17:54
jmaida7-Feb-24 17:54 
GeneralRe: React and Material UI Pin
0x01AA9-Feb-24 5:20
mve0x01AA9-Feb-24 5:20 
GeneralRe: React and Material UI Pin
GuyThiebaut7-Feb-24 21:47
professionalGuyThiebaut7-Feb-24 21:47 
GeneralRe: React and Material UI Pin
jochance8-Feb-24 4:50
jochance8-Feb-24 4:50 
GeneralWhy I don't use python Pin
honey the codewitch7-Feb-24 1:39
mvahoney the codewitch7-Feb-24 1:39 
QuestionRe: Why I don't use python Pin
CPallini7-Feb-24 1:54
mveCPallini7-Feb-24 1:54 
GeneralRe: Why I don't use python Pin
Richard Andrew x647-Feb-24 2:56
professionalRichard Andrew x647-Feb-24 2:56 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 4:20
mvahoney the codewitch7-Feb-24 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.