Dec 23, 2021 GraphQL Field type must be input type error During my practice of writing GraphQL using a Schema Language, I encountered an error like below: "Error: The type of ... must be Input Type but got: ..."... Read More
Sept 26, 2021 Optimistic Update We update the client data to reflect it to the frontend immediately, not awaiting for the server to fully processed that same data. Our app is optimistic even it didn't heard from the server yet... Read More
Sept 06, 2021 Methods of Constructing React App Break the app into components, Build the static version of the app, Determine what should be stateful, Determine in which component a state should live, Make hard-coded states, Implement inverse data flow for interactivity, Communicate to server... Read More
Sept 01, 2021 State Object Is Immutable We should treat the this.state object as immutable. Always use the this.setState()method when modifying a state... Read More