|
|
| | Ask HN: Is it better to start a front-end feature component first or API first? | | 1 point by abhpro on March 15, 2022 | hide | past | favorite | 1 comment | | By API, I mean whatever calls that are managing your front-end data. For example, if I had many user inputs that managed closely related data, should I start from a user perspective and build out all the components with empty calls? Or should I define and build out all the calls themselves before even thinking about the components (assuming the spec isn't super strict)? Fwiw I'm assuming a reactive, data-driven front-end. Also assuming the priority is extensibility. Does any of that makes sense lol |
|

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
The big benefit of building the components first is that you don't get blocked waiting for the backend dev to finish building the endpoints.