An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
July 19, 2022 08:06 pm GMT
Original Link: https://dev.to/btopro/building-micro-frontends-with-vercel-lit-45oe
Building micro frontends with Vercel Lit
I recently began exploring Vercel for microservice development in a course I was teaching. Like any good professor, it's important to propose a course topic you only sort of know about. I knew web components; how hard could Microfrontend development be?
This series will detail some of the lessons learned in developing a series of microservice + web component projects the last few months. These are beginning to distill down to follow a common pattern:
- Front end brick that works anywhere (ala web components, lit based)
- Something to broker and manage the API calls (middleware / class on front end)
- End point that is blackboxy, returning expected output (Vercel for these examples, though really AWS Lambda)
I hope that by covering the similarities and differences in approaches I've taken to produce a few of these it can help others think through the potential benefits of web components.
Here's some links to start poking around:
- Our storybook hooked up to Vercel - https://haxapi.vercel.app/ look for the "microservice"
- Code Monorepo - https://github.com/elmsln/lrnwebcomponents/tree/master/ .
/api
has the endpoints for the microservices and/elements
contains source for our web components
Original Link: https://dev.to/btopro/building-micro-frontends-with-vercel-lit-45oe
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To