Ask HN: Is it better to start a front-end feature component first or API first?
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
1 comment
[ 3.3 ms ] story [ 14.1 ms ] threadThe big benefit of building the components first is that you don't get blocked waiting for the backend dev to finish building the endpoints.