Want Realtime CSS Style Replacement While Developing Angular Applications?

Ben Racicot
1 min readJun 4, 2021

--

Perhaps you’ve used tools such as Prepros to prototype HTML/SCSS designs?

It allows for injected CSS changes.

For instance Prepros watches your project, compiles your CSS on each save and replaces the CSS inside your browser.

No reload, no refresh, just instantaneous results.

This was at least 5 years ago but the Angular team has never approached this feature. In fact, updating Angular application styles still requires a basic recompile and page reload.

Style Replacement in 2021

While searching for an Angular-focused solution to HOT CSS reloading I came across Hiep Tran’s plugin which had an impressive direction and a promising future.

As his project progressed it seems that leveraging the CLI to replace CSS like Prepros does was becoming problematic. Deeper knowledge of the Angular CLI was needed and Hiep reached out to the Angular team.

That is where his project ended.

The call for advocating for this feature has begun! Please vote by giving github.com/angular/issues/31464 your thumbs up!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ben Racicot
Ben Racicot

Written by Ben Racicot

Hi! I’m passionate about web technology, specifically Angular and all things JavaScript.

No responses yet

Write a response