zach.codes

Share this post

User's avatar
zach.codes
Supercharging Frontend Development with VS Code
Copy link
Facebook
Email
Notes
More

Supercharging Frontend Development with VS Code

Zach Silveira
Sep 30, 2017
∙ Paid

Share this post

User's avatar
zach.codes
Supercharging Frontend Development with VS Code
Copy link
Facebook
Email
Notes
More
Share
Supercharging Frontend Development with VS Code

These past few days, I dove into Visual Studio Code and TypeScript in an attempt to get a better workflow going with GraphQL / React apps. It's been a few months since evaluating the tools I use for developing every day apps, and I've found some amazing stuff. If you implement all these things and switch to VS Code, you're going to be shocked at how many bugs you catch even before saving a file!

ESLint + GraphQL!

This is the biggest developer life hack I've ever come across. Using GraphQL is the gift that never stops giving. Thanks to apollo-codegen you can generate types on the client side from your GraphQL schema! It looks like this:

//  This file was automatically generated and should not be edited.

export type announcementsQuery = {
  // Daily announcements
  announcements: Array<{
    title: string;
  } | null> | null;
};
/* tslint:enable */

It will only generate types for queries you're actually using, instead of adding types for things not in use on the frontend.

As if that wasn'…

Keep reading with a 7-day free trial

Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Zach Silveira
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More