Unleash / unleash-proxy-client-js

A browser client that can be used together with the unleash-proxy.
Apache License 2.0
44 stars 46 forks source link

Examples with single-spa or any example using micro frontends #169

Closed rafa-thayto closed 2 months ago

rafa-thayto commented 11 months ago

Describe the feature request

I want an example of unleash-proxy-client-js on a single-spa micro frontend application.

Background

No response

Solution suggestions

No response

nunogois commented 10 months ago

Hi @rafa-thayto - Thank you for raising this issue! We're looking into providing more examples, so this could be a good opportunity for us.

This is the first time I hear of single-spa. Are there any specific reasons why you would like to see an example using single-spa? This could also be a great opportunity for a contribution from the community, so we'd love if you'd like to take a stab at it.

ivarconr commented 2 months ago

Closing due to inactivity.

From my standpoint using this SDK in a micro-frontend SPA is no different from any SPA, and we have multiple examples in https://github.com/Unleash/unleash-sdk-examples. The only thing to consider is how to propagate flag values across independent components / fragments, but that would normally be a micro-frontend platform concern.