News for hackers. Stuff that matters.
Re:Ask HN: What should the technical design for a front end ... by yisheng on Saturday June 23, 2018 @12:59AM (#17379626)
I use this when designing a redux application:

1. 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.

There are no comments on this comment yet.