JSFoo: round the year submissions

JSFoo: round the year submissions

Submit talks on JavaScript and full stack engineering round the year

Submit talks and workshops on:

  1. Full stack engineering
  2. JavaScript frameworks
  3. Architecture approaches and case studies
  4. JavaScript and IoT
  5. Web development
  6. JavaScript for hobbyists

We will find a forum to place your talk, any time during the year.

For more information, contact jsfoo.editorial@hasgeek.com or call 7676332020

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

rajat vijay


Micro-frontends using stencil.js: Scaling internal frontend products

Submitted Sep 5, 2018

Have you ever have to extend a legacy monolith? Have you ever wondered why you can’t make a new module in the technology of your choice? Have you ever envied backend devs for having this great architectural pattern called microservices? This talk will help you extend the microservices pattern to the frontend. Starting from the reasoning for why this pattern make sense for frontend to what are the frontend specific challenges in its implementation.


  1. Problem Statement
    Most companies nowadays have a single frontend admin app for all business concerns, since they dont want to educate their internal users(which are huge by the way) to use different apps. Aren’t we increasing code matainence and thus destroying developer productivity and happiness by not following the “Single responsibility” and “Separation of concerns” principles? Can we do this without affecting user experience and developer experience(Yes! that is a thing and a pretty important one).

  2. All the possible solutions and the problems with them.

  3. Enter micro frontends. What is it? How does it solves the problem?

  4. What are the frontend specific problems that comes with it and their solutions:

  5. Maintaining same design aesthetics across different apps

  6. Synchronized deployments and health tracking

  7. Performance issues when fetching multiple builds

  8. Session management issues

  9. How to implement this pattern using stencil.js?

  10. A quick introduction to stencil.js

  11. A quick refersher on native web components and shadow DOM

  12. How to create a single application using all three component web frameworks: React, Angular and Vue? How do we practically acheive this? (The high level architecture)

  13. Live Demo! (Showing live how different frameworks work together and how do we inspect them?)

  14. Perks that this pattern comes with:

  15. BYOS => Bring your own stack (Dev happiness).

  16. Different teams responsible for different business concerns => “Separation of concerns”.

  17. Your deployments doesnt break others’ code.

  18. Could be a good technique to migrate your legacy code to a newer technology stack.

  19. Separate repos => More security.

  20. Key takeaways

  21. Single responsibility and Separation of concerns => No need to maintain single frontend codebase for different buisiness concerns

  22. Don’t break others code when deploying yours

  23. Free yourself from some legacy global level settings which doesn’t hold true for your particular use case.

  24. When migrating to a newer technology, no need to do it for the whole codebase in a single pass.

  25. When making a new module, feel free to choose your own technology stack and make your own architectural choices and improve upon the older ones.

Speaker bio

Rajat is a software engineer and an avid open source contributor. He likes to test and play with the latest in technology and has a love for vanilla JavaScript as a language.

After working at various places ranging from a startup where you build products from scratch to a mid level organisation where you are supposed to extend the legacy projects, there is one important thing that he has learnt:
Compose small projects to build a big one, avoid monoliths.

He proposed the micro frontends architecture at his organisation and since then they have been migrating their frontend step by step.




{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more