You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example of how to handle passing props to parcel component when single-spa update lifecycle is triggered with new props would be great.
I'm passing the custom props to vue component like this:
importVuefrom'vue';importsingleSpaVuefrom'single-spa-vue';importAppfrom'@/App.vue';Vue.config.productionTip=false;constvueLifecycles=singleSpaVue({
Vue,asyncappOptions(props){returnrender(h){returnh(App,{props});}},});exportconst{ bootstrap, mount, unmount }=vueLifecycles;exportasyncfunctionupdate(props){// how to update props in render??}
I need the props being passed to App to update, so that App is rerendered. How do I do that?
The text was updated successfully, but these errors were encountered:
svihpinc
changed the title
Add example for update lifecycle updating parcel componentprops
Add example for update lifecycle updating parcel component's props
Dec 29, 2022
An example of how to handle passing props to parcel component when single-spa
update
lifecycle is triggered with new props would be great.I'm passing the custom props to vue component like this:
I need the props being passed to
App
to update, so that App is rerendered. How do I do that?The text was updated successfully, but these errors were encountered: