DEV Community

Cover image for JavaScript pushes the WebApplication structures from Development to Deployment Stage
Raghavendra
Raghavendra

Posted on

JavaScript pushes the WebApplication structures from Development to Deployment Stage

The Web Applications needs HTML, JavaScript, CSS and Icons to work. Creating a web application in modular approach makes it hard for packaging HTML, JS, CSS and Icons of a component and combine them during deployment.

The solution for modular web application development is to develop all these parts (HTML, JS, CSS and Icons) using the technologies which can be transpiled into Pure Javascript. The Javascript then can be shared as NPM package. JSX can be used to create HTML in javascript. CSS-IN-JS libraries (for example styled-components) used to create CSS in Javascript. The Icons created using SVG can be embedded in JSX which inturn compiled into pure javascript.

During deployment, the bundler and other tools can re-generate the HTML, CSS and JS back from the Javascript. Tools like webpack, parcel, vite generates the web applications from these reusable NPM packages.

Check out these Amazing Material UI Components here https://sodaru.github.io/mui-extended
These components uses JSX, and Styled Components and can be included in any of your react application.

Happy coding

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay