codedbychavez / configcat-vue

Vue.js SDK for ConfigCat Feature Flags (community maintained)
https://configcat.com/docs/sdk-reference/community/vue/
3 stars 1 forks source link

Improve FeatureWrapper component initialization #11

Closed adams85 closed 1 year ago

adams85 commented 1 year ago

This is a follow-up to #7, more precisely, to the issue described here:

This solution is still not perfect though because in some cases (e.g. in the sample app) the component may be rendered before the clientReady event fires. I have an idea how to solve this issue but for that I'll need to make some changes to the ConfigCat SDK and merge https://github.com/codedbychavez/configcat-vue/pull/6 as well.

The necessary changes have been made to the ConfigCat SDK, so now we can also fix the issue quoted above. This will simplify and improve the component initialization logic at the same time.