Dave.rip logoDAVE.RIP

Why You shouldn’t Make a blog

Why You shouldn’t Make a blog

Why You shouldn’t Make a blog

Why You shouldn’t Make a blog

typescript
1import {useState} from"react"
2const [test, setTest] = useState("")

Blog Post Image

Title 2


Modern front-end frameworks like React, Angular, and Vue rely heavily on the terminal. If you're not comfortable with command line interfaces, you'll struggle to run a local development server or build your application!

There's something deeply ironic about this. Our whole job is to build graphical user interfaces, but the tools we use in our development are mostly command-line based!

Unless you have a Computer Science background, or grew up using a computer in the 80s, you probably won't have very much terminal experience. And yet, most online resources assume that you're already proficient!

It takes years of practice to become a terminal guru, but here's the good news: we can take a shortcut. We don't really need to know 98% of the stuff you can do with a terminal. If we focus on the most-important critical fundamentals, we should be able to become comfortable with the command line in a remarkably short amount of time. ✨

Code Example

typescript
1import { defineField, defineType } from "sanity";
2
3export default defineType({
4    name: "section",
5    title: "Section",
6    type: "document",
7    fields: [
8        defineField({
9            name: "body",
10            title: "Body",
11            type: "blockContent",
12        }),
13    ],
14});
15

Categories

  • React
  • Web

Popular Articles