pages editor freezes on startup
hello, i was in the middle of building a custom component and as i was typing a basic for loop, the page froze.
now when i go back to the pages editor, it is unresponsive so i can't update anything. i've reset the pages kit but that didn't help.

9 replies
Thank you. Can you help provide the code that is in question?
well, i can't actually get to the code because the page is frozen. it was basically mapping some data fetched from an api to display. i was writing a for loop inside the map and that's when it froze.
is it possible for you to remove the custom component i was working on?
I will invite a colleague to follow up the matter.
重新进入项目会默认进入上次编辑的自定义组件,可以尝试先进入项目列表,在开发者工具中使用“Clear site data”清除站点缓存的数据。
清楚缓存数据后再次进入项目不会打开出问题的这个自定义组件,这时应该可以操作删除那个组件,注意不要再次点击那个组件,鼠标悬浮到组件上可以操作删除。
Hello Team,
Thank you, we were able to delete the custom component that was causing our page editor to freeze. However we still have questions.
What we are trying to do is set up custom components that we use to automate our "Shadow Realm" as well as use to create profile pages for our users. Being able to automate this portion of our app is crucial. I'm wondering though if we are trying to use the pages kit the way it is not intended to be used?
I'm bringing this to everyone's attention because this portion of app is social in nature, and I'm certain that in the future others will want to use it for similar purposes. That being said, what are the best practices for the custom components in situations like this?
z1UBqTWERpY3cKSoyJsoHzB9bepuYUfrN22
z1oHa79x3H6vxv9hfW8bHczPmwHKfAaRRmS
z1VV21NqNWkiadznN32ALkos5dQqQwnCMty
请问 "Shadow Realm" 是什么功能,还有提及到的 create profile pages 是否需要后端服务?
这听着像是你们想在 Pages Kit 设计一个页面,然后页面包含一个自定义组件,用户操作这个自定义组件能记录资料?
如果是我描述的内容,那么目前是不能成立的,因为 Pages Kit 的自定义组件目前只能写前端组件,后端功能我们还在进行设计,这具备一些挑战性,我们在优化整个流程体验
Thank you for the clarification. This helps us to better understand the environment and yes this does require backend.
test