Reactive and Component Frameworks for “Old Fart” Programmers
blog.codesolvent.com
blog.codesolvent.com
I'm not sure the React folks would agree to that :)
Oh I agree, but the React guys are always bragging that JSX is just JavaScript.
https://developer.mozilla.org/en-US/docs/Web/Web_Components/...
Compatible because it is a W3 standard implemented natively by all browsers (including upcoming Edge). Even if your company has applications built using multiple frameworks (including future frameworks) you can write a component once and reuse it in all applications regardless of framework.
Longevity because this is a W3 standard. Frameworks come and go, but things built natively into the browser are here to stay.
Reliability because of Shadow DOM. You don't have to worry about id clashes, CSS classname conflicts etc when you add a component to an existing page.
Simplicity because there is no SDK or library or framework involved. It takes just a few lines of code to write a web component.
Regarding programming models, it doesn't matter. Web Components behave like built-in HTML elements, and all programming models support HTML Elements.
I remember talking to someone about working on a project and they asked me if I had worked in Angular and I said no but I have worked in Vue and React to which I got a reply of "you should really learn angular."
For me, coming from a heavy Ruby on Rails background, I learned to just "trust the magic" with Angular (which is what I've used). Change the variable here, trust it will update in the component on the screen. Don't ask why.
The other part about frameworks that was hard for a bit was, "But what part runs on the server?" - as in, that idea that the code on the browser is generated by something on a server, and whatever that server part is actually talks to the API.
Does anyone remember Java Server Faces? I hope not.
Heck, I remember ATG Dynamo, where everything was a javabean, including all the server side components.
Anywho, unless you're punning with "brought to bare" it should be "brought to bear", as in "bearing", as in the direction of something.
Granted, text can't convey irony, I know.