Replies: 2 comments
-
For code formatting use 3 backticks (`) before and 3 after your code Why not use listen for the storage load end event and then browse all components and get the ones you need to update then update them? Or you could listen to the event component:create as I do it here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
So this "problem" was actually me not reading the documentation properly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
For context, what I am trying to do is create a blog index page. I am calling an api which returns the titles of blog posts, which I then place in Semantic-UI cards. I have successfully created a component that adds all the blog posts already existing in the system on drop into the canvas (see below), but cannot see how to make this component update itself on changes in api response (i.e. when new blog posts are added).
Sorry about code formatting - don't know how to format code in this context.EDIT: Now I do.Is there any way to embed this ajax call into the final html, so that the component will regenerate itself on page load with the right information?
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions