Ask HN: Is there any API to UI tool? I mean, hit an API and render the UI,
basically dynamically create UI from API.
would love that kinda tool for rapid prototyping for my personal project. |
Ask HN: Is there any API to UI tool? I mean, hit an API and render the UI,
basically dynamically create UI from API.
would love that kinda tool for rapid prototyping for my personal project. |
And if you don't have a description of the UI that comes to the client along with the API payload, then how can the client know how to render it? It's too ambiguous -- data schemas are not deterministic when it comes to UIs. That's why HTML/XML are not sufficient for rendering UIs. You need CSS to tell the browser how it looks and JavaScript to tell the browser how it behaves.
The best you could do is an API explorer. But maybe React + Relay would get you closer to what you want.