Ask HN: What should the technical design for a front end feature include?
1–10 of 11 posts
Re: Ask HN: What should the technical design for a front end feature include?
#2Re: Ask HN: What should the technical design for a front end feature include?
#31. Define function signatures of selectors and action creators. 2. Define the state tree shape.
Action Creators and Selectors translate to the "API endpoints" as it's the public interface to your frontend data model.
The state tree translates to the "database schema".
I would also consider what the data model for client-side persistence (localstorage, cookies) is.
Re: Ask HN: What should the technical design for a front end feature include?
#4A few ideas. The data model. How to map and continually re-map the server side model to the client side model. The design patterns appropriate to the problem, for instance using redux middleware to implement an interceptor, and leveraging any number of message based programming patterns from the Patterns Of Enterprise Application Architecture book. The communication mechanism from client to server. The data serializa…
Re: Ask HN: What should the technical design for a front end feature include?
#5Re: Ask HN: What should the technical design for a front end feature include?
#6Re: Ask HN: What should the technical design for a front end feature include?
#7Re: Ask HN: What should the technical design for a front end feature include?
#8I would say: Controls, events, views, view-data bindings, data-server bindings, state, authentication, telemetry and error handling.