Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
gatsby-contentful-blog
Discontinued [Moved to: https://github.com/andrews1022/contentful-blog-gatsby-starter]
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Please check out the repo I've created with the finished files. You can use this if you get stuck and need to reference anything.
npx gatsby new . https://github.com/contentful/starter-gatsby-blog
git init && git add . && git commit -m "project setup" && git branch -M main && git remote add origin https://github.com/GITHUB_USERNAME/PROJECT_NAME.git && git push -u origin main
Again, if you are having trouble/unsure how to type the pre-existing components, you can see how I did so here.
Answer the questions how you like, but make sure that whichever answers you choose, you make sure to pick the same ones each time you set up ESLint. This way, you can save any custom rules in a separate repo, like I've done here, and copy and paste them in. Now, your code will be consistent across all your projects.
TypeScript
Text editor of your choice (I will be using VS Code)
Related posts
- Filtering TypeScript value types
- Scripting with VSCode Tasks and Typescript
- React intellisense alternating between "x={}" and "y", have posted on their github but not getting a fix :(
- Feature request - inline type aliases
- Has the unsoundness (will explain in the post) actually become a pitfall in practice?