Click here to Skip to main content
15,886,199 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.

 
QuestionIE woes Pin
Andreas Mertens15-Apr-22 4:42
professionalAndreas Mertens15-Apr-22 4:42 
AnswerRe: IE woes Pin
englebart15-Apr-22 5:27
professionalenglebart15-Apr-22 5:27 
GeneralRe: IE woes Pin
Andreas Mertens15-Apr-22 7:18
professionalAndreas Mertens15-Apr-22 7:18 
GeneralRe: IE woes Pin
englebart16-Apr-22 3:48
professionalenglebart16-Apr-22 3:48 
GeneralRe: IE woes Pin
Andreas Mertens16-Apr-22 4:15
professionalAndreas Mertens16-Apr-22 4:15 
GeneralRe: IE woes Pin
englebart16-Apr-22 9:50
professionalenglebart16-Apr-22 9:50 
GeneralRe: IE woes Pin
GuyThiebaut18-Apr-22 1:28
professionalGuyThiebaut18-Apr-22 1:28 
AnswerRe: IE woes Pin
raddevus15-Apr-22 5:38
mvaraddevus15-Apr-22 5:38 
You may think I'm a band-waggoner, when I mention how you may be able to most easily solve this so hopefully you'll hear me out.

I'll attempt to explain this in the most terse way while hopefully convincing you that this thing I mention can actually help you. The reason I'm not mentioning it right away is because the technology is so extremely pushed that it has become a buzz-word (knee-jerk library).

(far too much) Background
I'm a long-time Software Developer & I take projects from nothing to completed so I'm always looking for anything to speed up development time.

I originally started out as a Windows Forms dev (under Win 3.1 -- yes, I've dated myself now).
However, I've always been open to technology so I try a lot of stuff. Sometimes those technologies are just buzz words.

Ok, here goes...

I like ReactJS for building Front-ends that work cross-browser / cross-platform.

Reasons I Like ReactJS & How I Believe it Can Help You
Main Reason I recently learned it is entirely possible to add ReactJS (get the benefits of the library) to a brownfield project. You can add small bits of ReactJS (components) to your current project & slowly realize all the benefits.

This is not much talked about because normally the ReactJS Tutorials simply say, "run npm install and install all of this toolchain". And then I'm turned off because it installs Babel & tons of other stuff I didn't even know about.

However, I started reading this book React: Up & Running: Building Web Applications 2nd Edition (amazon)[^] and it shows you how to start incorporating ReactJS into your existing project and getting benefits.

Major Benefit2
ReactJS wraps everything up so that it will run in older browser versions, including IE!
1. That means you won't have to worry about a bunch of odd syntax & searching for IE-specific solutions.
2. You can convert small chunks of a single web page into React so you can slowly convert a bigger thing (instead of biting off such a huge piece that you choke).

Quick Example (hopefully)
Here's a jsfiddle to a very simple example of creating a component that represents an HTML div.

Edit fiddle - JSFiddle - Code Playground[^]

And, it shows you how you can easily update the value in the div (text displayed).

The point here is that you can incorporate ReactJS from a couple of links (not have to install npm etc.)

JavaScript
<script crossorigin src="https://unpkg.com/react@17/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>


I learned so much from just reading the first two chapters of the book above.

You may think you have a learn a lot but it'll probably end up being faster than searching for all the cryptic IE code & converting.

Final Point
The final point is that everything will be wrapped up in components that you can easily convert small bits at a time & they will work even in old versions of IE.

Good luck.
GeneralRe: IE woes Pin
Andreas Mertens15-Apr-22 7:27
professionalAndreas Mertens15-Apr-22 7:27 
GeneralRe: IE woes Pin
#realJSOP16-Apr-22 2:31
mve#realJSOP16-Apr-22 2:31 
GeneralRe: IE woes Pin
Andreas Mertens16-Apr-22 3:25
professionalAndreas Mertens16-Apr-22 3:25 
GeneralRe: IE woes Pin
#realJSOP16-Apr-22 2:34
mve#realJSOP16-Apr-22 2:34 
AnswerRe: IE woes Pin
Craig Robbins15-Apr-22 5:51
Craig Robbins15-Apr-22 5:51 
GeneralRe: IE woes Pin
Andreas Mertens15-Apr-22 7:30
professionalAndreas Mertens15-Apr-22 7:30 
GeneralRe: IE woes Pin
Mycroft Holmes16-Apr-22 13:15
professionalMycroft Holmes16-Apr-22 13:15 
AnswerRe: IE woes Pin
abmv15-Apr-22 7:59
professionalabmv15-Apr-22 7:59 
AnswerRe: IE woes Pin
dandy7215-Apr-22 9:12
dandy7215-Apr-22 9:12 
AnswerRe: IE woes Pin
#realJSOP16-Apr-22 2:36
mve#realJSOP16-Apr-22 2:36 
GeneralRe: IE woes Pin
Andreas Mertens16-Apr-22 3:37
professionalAndreas Mertens16-Apr-22 3:37 
AnswerRe: IE woes Pin
Chris Maunder16-Apr-22 4:24
cofounderChris Maunder16-Apr-22 4:24 
AnswerRe: IE woes Pin
deepok117-Apr-22 22:58
deepok117-Apr-22 22:58 
AnswerRe: IE woes Pin
Andreas Mertens18-Apr-22 4:22
professionalAndreas Mertens18-Apr-22 4:22 
NewsGoing retro Pin
RickZeeland15-Apr-22 2:54
mveRickZeeland15-Apr-22 2:54 
GeneralRe: Going retro Pin
Slacker00715-Apr-22 4:59
professionalSlacker00715-Apr-22 4:59 
GeneralRe: Going retro Pin
RickZeeland15-Apr-22 6:40
mveRickZeeland15-Apr-22 6:40 

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.