Can I pull data from an API?
Can I use this for a dynamic website? if I have to pull data from API how can I integrate it wth destack?
You can use the Destack editor along side with other React components. These components can be dynamic or not as there is no restriction.
But, you can't pull data from APIs into the Destack components. It's something we discussed before (a common use case is pull blog posts from an API and dynamically build a blog) but there are other priorities for the time time. What are you looking to build?
Hi @LiveDuo , can you provide with some example how can we build the blogs dynamically from the API.
@aashishshrestha5532 As of right now you can't pull data from an API. It's a feature that's commonly requested and it's a good git for the Destack but now the focus is building and testing Destack v2.
I am currently working on pull data from an API in my local branch. I want to contribute on it. @LiveDuo
@aashishshrestha5532
If you aim to have something like this merged I will strongly suggest the following:
- Branch off from
feature/craftjs. The Craft.js rewrite is off high priority right now and working on the Grapes.js editor would make your changes obsolete when craft is merged. - Share details about the architecture you have in mind. It's better to discuss it in advance and agree on things rather than working on something that's potentially not ideal for all Destack use cases.
You can use the Destack editor along side with other React components. These components can be dynamic or not as there is no restriction.
But, you can't pull data from APIs into the Destack components. It's something we discussed before (a common use case is pull blog posts from an API and dynamically build a blog) but there are other priorities for the time time. What are you looking to build?
please show link Conversation of pull blog list