Tag: React
All the articles with the tag "React".
How to add TypeScript types to useReducer
Updated: at 06:59 AMuseReducer is a great way to abstract some of your application's complexity in React. In this post, we're enhancing our reducers with TypeScript types!
Tutorial: Apollo Client with React and TypeScript
Updated: at 09:15 AMSet up Apollo Client in React and TypeScript and query the public SpaceX GraphQL API, including caching and errors, with no custom backend.
Use TypeScript to DRY up React components
Updated: at 02:35 PMAfter using React context to stop prop drilling, replace repeated PropTypes with TypeScript and the tradeoff that introduces.
Use React Context to DRY up your components
Updated: at 02:36 PMIn this post, I'll show you a typical example of plumbing inside a React application and a way to fix it.