DEV Community

e10chen
e10chen

Posted on

Follow up response to Rethinking the Modern Web

As a new developer in the field, why there are so many different platforms, each with their own rules and regulations, is one of the most perplexing aspects of platforms. When going to test out Vue, Angular, and React, there is always a difference in Syntax and ways they define things are different. Why is the structure and the styling also needed to be written in Javascript as well is also in the list of confusing aspects about platforms. Focusing on the basics first will help web components and VanillaJS standards be explained in a manner that is more approachable. Before diving into these crazy platforms with their own sets of rules and complicated tools to create a website, you must familiarize yourself with the fundamentals of web components and VanillaJS. Gaining a solid understanding is essential because it will help people understand the reasoning of later, more complex topics and the ideas underlying various tools and platforms. In this manner, moving from one platform to another won't be too difficult. When I first tried to integrate my card into one of the few frameworks you had us place our cards into, I found React to be the simplest to work with. The reason is that I had the impression that I could tell where the html, javascript, and CSS were supposed to go just by glancing at each file and perusing it with a beginner's eye. With no problems and no help from Google, I was able to integrate my card into the framework. For the tooling, I am aware that npm is the primary package manager for node js and that it has a collection of open source programs that are available for use without charge. This effectively means that we can combine all the pre-written code or packages that others have created for our projects using npm. All of the modules and the dependencies that are mentioned in the package.json file are automatically installed with the aid of the npm install command. The part that was confusing was Yarn. I know that Yarn is another package manager that is suppose to be better than npm but I never fully got yarn to work and the syntax and commands for yarn is way different from npm. To help me understand why people are trying to shift from the traditional web coding to making it more abstract relying all on JavaScript and unifying all of them together.

https://medium.com/seek-blog/a-unified-styling-language-d0c208de2660
https://dev.to/richharris/why-i-don-t-use-web-components-2cia

Top comments (0)