destack icon indicating copy to clipboard operation
destack copied to clipboard

Can I pull data from an API?

Open RichuEn opened this issue 3 years ago • 6 comments

Can I use this for a dynamic website? if I have to pull data from API how can I integrate it wth destack?

RichuEn avatar Jul 07 '22 06:07 RichuEn

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?

LiveDuo avatar Jul 07 '22 13:07 LiveDuo

Hi @LiveDuo , can you provide with some example how can we build the blogs dynamically from the API.

aashishshrestha5532 avatar Dec 21 '22 15:12 aashishshrestha5532

@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.

LiveDuo avatar Dec 21 '22 18:12 LiveDuo

I am currently working on pull data from an API in my local branch. I want to contribute on it. @LiveDuo

aashishshrestha5532 avatar Dec 22 '22 04:12 aashishshrestha5532

@aashishshrestha5532

If you aim to have something like this merged I will strongly suggest the following:

  1. 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.
  2. 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.

LiveDuo avatar Dec 22 '22 13:12 LiveDuo

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

vahidalvandi avatar Sep 17 '23 06:09 vahidalvandi