micro-frontends | A sample app to demo micro frontends in action | Frontend Framework library

 by   gauravbehere TypeScript Version: Current License: MIT

kandi X-RAY | micro-frontends Summary

kandi X-RAY | micro-frontends Summary

micro-frontends is a TypeScript library typically used in User Interface, Frontend Framework, Angular, React applications. micro-frontends has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A sample app to demo micro frontends in action
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              micro-frontends has a low active ecosystem.
              It has 6 star(s) with 4 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              micro-frontends has no issues reported. There are 15 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of micro-frontends is current.

            kandi-Quality Quality

              micro-frontends has no bugs reported.

            kandi-Security Security

              micro-frontends has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              micro-frontends is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              micro-frontends releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of micro-frontends
            Get all kandi verified functions for this library.

            micro-frontends Key Features

            No Key Features are available at this moment for micro-frontends.

            micro-frontends Examples and Code Snippets

            No Code Snippets are available at this moment for micro-frontends.

            Community Discussions

            QUESTION

            No provider for dynamically created component after migration to micro-fronts structure
            Asked 2021-Jun-03 at 22:14

            The stack is way too complicated to recreate it, so forgive me in advance and ask me for further information.

            The Angular app has the following structure:

            ...

            ANSWER

            Answered 2021-Jun-03 at 22:14

            The issue was the way I did the bootstrap for the Angular application

            Wrong approach:

            Source https://stackoverflow.com/questions/67718938

            QUESTION

            Angular cross-domain dynamic component loader
            Asked 2021-Mar-01 at 15:26

            I am investigating Micro-Frontend possibilities with Angular. I am looking into the feasibility of having independently the different parts of the UI served by their own HTTP server process but composed dynamically on the main UI; which is merely a UI template with placeholders to be replaced by these dynamically loaded Micro-Frontends.

            Currently we are using iframes for this and it works great apart from the extra resources required on the client browser and of course the not so dynamic and limited approach.

            My question is if it is possible to have a component in an Angular App implementing a shared and well-known component interface, be loaded dynamically from another URL; subdomain in our case?

            For example, we have the following domains:

            1. domain.com
            2. sub1.domain.com
            3. sub2.domain.com

            and we have the following component available from sub1.domain.com:

            ...

            ANSWER

            Answered 2021-Mar-01 at 15:26

            When it comes to Angular - I've seen this done in a few different ways, each one with it's own different pitfalls and personally I didn't like neither of the options for one reason - they've made development and / or deployment more complicated instead of simplifying it. And for me it defeated the purpose of micro frontends.

            If you have something that's "good enough" personally I would stick to it until Webpack Module Federation gets polished out. In short - module federation allows easy referencing of modules that are not known at the compile time, which should perfectly cover your case.

            Below is a bunch of resources on the topic (including examples, Angular included):

            Source https://stackoverflow.com/questions/66421271

            QUESTION

            Share LESS variables between multiple micro-frontends applications
            Asked 2021-Feb-25 at 19:51

            I'm trying to figured out if it's possible share LESS variables among different React projects. I'm using Single-SPA to build a micro-frontends architecture. My micro-frontends are using some shared components like the react-microfrontend example does with react-mf/styleguide. Beside that, I also need to share some LESS variables (e.g. colors or typography) so I can just define them once into my styleguide project alike and then reference them in every micro-frontends I will define. Is that possible ? If yes, can you suggest to me a way to do that ? I guess the solution is to use webpack but I can't find the right way to do it.

            ...

            ANSWER

            Answered 2021-Feb-25 at 19:51

            I found two possible solutions:

            CDN

            Source https://stackoverflow.com/questions/66356828

            QUESTION

            How to implement micro frontend architecture in legacy application using Angular
            Asked 2020-Mar-02 at 15:20

            Recently our team has decided to implement micro front end architecture in our legacy product. It has been developed using Asp.Net aspx pages along with javascript/jquery.

            Last year we started using angular in our application for some of the views. To load angular we are placing the prod build files in .net project and we are loading the component in aspx master page.

            We are planning to migrate our rest pending older views to angular using micro front end architecture.

            So I did a small poc for the same and was able to achieve the architecture to somewhere close to it.

            I followed this url for implementation and ran it on port 4400.

            https://medium.com/swlh/build-micro-frontends-using-angular-elements-the-beginners-guide-75ffeae61b58

            And in my existing angular project i am loading this using customElements

            ...

            ANSWER

            Answered 2020-Mar-02 at 15:20

            For those who might have requirement like this.

            I did lot of research and went through lot of articles and came out with a solution.

            So I created a separate application using Angular elements and generated single bundle using cmd;

            Source https://stackoverflow.com/questions/60109171

            QUESTION

            AngularJS architecture: mono-repo or multi-repo
            Asked 2018-Jul-12 at 13:48

            I am doing some research into the possibility of code splitting a huge monolith SPA (AngularJS) into multiple repositories. Whether we should do it or not? The benefits and pitfalls.

            The Idea:

            The application consists of multiple features (user management, analytics, event management) which are made as individual angular.module.

            The idea was to split these different modules into their own repository and have some kind of master repository which would put all the pieces together before deploying.

            The reason

            Our application is huge now and will only get bigger. Also, the number of developers working on it is increasing.

            Other reasons:

            • More manageable and maintainable - only feature specific files available
            • Easier to update to newer version of angular - one repo at a time

            Findings

            I have read that micro frontend architecture is becoming a more and more popular way of structuring big applications.

            On the other hand, this will scatter files making it more difficult when fx. refactoring shared modules. It also appears that fx. Facebook and Google have mono repo.

            After several days of research, I'm still torn. I see advantages with both, mono repository and multiple repositories.

            I have also looked into git submodule as a way to "import" the features into the main repository. This is my least favorite options though. Also, I've never heard of git submodule before now so if anybody has some experience in that area please feel free to jump in.

            Finally, the most important question: Is it even possible to have one AngularJS application split into multiple repositories?

            Additional information: Microservices: Mono repo vs. multiple repositories

            ...

            ANSWER

            Answered 2018-Jul-12 at 13:48

            Handling Monolith Code Bases

            I have had the same issue the internal conflict that comes with it. The best answer I have found is this. "You and your team are the best people to answer this question." I know this goes against the hype of things like Micro FrontEnds will rule the world but it is the truth. This explains why some people use monoliths and are really successful like Facebook and others have the opposite outcome go with Micro Frontends and then become successful.

            The only real problem in managing large amounts of code is a human problem not a technical problem. So this is a social issue. Sure, technical things change with this decision but in the end of the day you are just changing the human interaction between programmers and this code base.

            So why is your team the most qualified to make this decision. You know the social dynamics of your team and corporate culture better then the rest of us.

            I asked myself these types of questions when I was making this decision.

            How does the team work together?

            How is your team trained?

            How flexible is your team?

            How clear and open is the communication between teams and team members?

            I would answer these types of questions and continue using case studies like Facebook which proved size of the team on a monolith does not really matter but how you work together on that monolith does and make the decision based on that.

            Source https://stackoverflow.com/questions/51305628

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install micro-frontends

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/gauravbehere/micro-frontends.git

          • CLI

            gh repo clone gauravbehere/micro-frontends

          • sshUrl

            git@github.com:gauravbehere/micro-frontends.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link