utopia icon indicating copy to clipboard operation
utopia copied to clipboard

How to invoke an API and bind data

Open tmkasun opened this issue 3 years ago • 2 comments

Hi Team,

First, Thanks for developing and maintaining Utopia, It's a fantastic tool for quickly getting started with React app development and updating the application design in real-time.

I have a requirement to make an API call and use the API data to populate a table. Is there a low-code element makes this happen or do I need to write the code to do the data binding manually?

tmkasun avatar May 20 '22 07:05 tmkasun

Hello there! Thank you for the kind words :)

We don't yet have a low-code UI for mock data or data bindings.

The good news is that if you write this in code, you can just write idiomatic React and it should work inside Utopia too.

balazsbajorics avatar May 20 '22 07:05 balazsbajorics

Hi @balazsbajorics ,

Thank you for your insight.

The good news is that if you write this in code, you can just write idiomatic React and it should work inside Utopia too.

Yes, I tried this approach and it actually worked :)

tmkasun avatar May 23 '22 04:05 tmkasun