Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I pull data from an API? #49

Open
RichuEn opened this issue Jul 7, 2022 · 6 comments
Open

Can I pull data from an API? #49

RichuEn opened this issue Jul 7, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@RichuEn
Copy link

RichuEn commented Jul 7, 2022

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

@LiveDuo
Copy link
Owner

LiveDuo commented Jul 7, 2022

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?

@aashishshrestha5532
Copy link

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

@LiveDuo
Copy link
Owner

LiveDuo commented Dec 21, 2022

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

@aashishshrestha5532
Copy link

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

@LiveDuo
Copy link
Owner

LiveDuo commented Dec 22, 2022

@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 LiveDuo added the enhancement New feature or request label Jul 1, 2023
@LiveDuo LiveDuo changed the title Can i use this to pull data from an api Can I pull data from an API? Jul 1, 2023
@vahidalvandi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants