DEV Community

Discussion on: It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Collapse
 
256hz profile image
Abe Dolinger

What's so hard about routing with react-router-dom? It only takes an import, and one line per route.

Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski

oh, react-router...

Updating the codebase from v1 to v2 to v3 to v4... no, thank you!

I'm a burned child here

Collapse
 
coly010 profile image
Colum Ferry

You should take a look at what the Angular Team are doing with their CLI tool and how they're writing migrations to automatically fix any breaking changes within your codebase as they progress from version to version by simply running ng update.
And they do it using an AST rather than a RegEx to maintain the correctness of your program.

Thread Thread
 
lampewebdev profile image
Michael "lampe" Lazarski

Yeah they maybe do it now

and these code mods have their limitations.

the react team has them too.