Skip to main content

In my understanding of global components, when the Main component is made changes, it reflects in all instances automatically, but why is it that mine is not showing the changes?

There could be several reasons. One of the most common is overriding. If you make changes in some part of a instance, this part won’t accept updates from the main component until you reset it.

 


Or could it be because the main component resides in a different file? Though I considered the library on the file to use the assets but still it wasn’t reflecting the change until I had to bring the fresh instance from the recent change, then it worked.

I am asking this for a clarity because in my library I am setting global components so they are used across teams keeping the same attributes and reflect any changes. If there is some step we’re missing for the goal then I’d really appreciate an insight!

Thanks!


1.覆盖问题
2.全局组件段时间内单个组件修改多次,发布多次。但是引用文件只更新一次
3.组件更新时网络问题导致丢失


Or could it be because the main component resides in a different file? Though I considered the library on the file to use the assets but still it wasn’t reflecting the change until I had to bring the fresh instance from the recent change, then it worked.

I am asking this for a clarity because in my library I am setting global components so they are used across teams keeping the same attributes and reflect any changes. If there is some step we’re missing for the goal then I’d really appreciate an insight!

Thanks!

Yes, it could. Make sure you have published the library and added it to your file. Also, when you make changes in the library, you need to publish it again and accept the updates in the destination file.

More information here


Thanks guys, yes I missed the publishing step hence the issue. Got the clarity now!

 


我今天遇到了非常诡异的问题:

我做的组件我用在一个文件中没有问题,组件的切换都很正常。但是别人用会变色,位置也会改变。


Reply