crazyoptimist
Blog
About
  • How to Setup Eslint and Prettier With Git Precommit Hooks in React Typescript Project

    Aug 16, 2021 · 2 min read  ·
    Share on:

    You should probably create a new react app with typescript using like so: 1npx create-react-app my-app --template typescript Now let's get started to setup eslint and prettier. Remove eslintConfig from package.json. Install prettier using these commands: 1yarn add --dev --exact prettier 2# these are for making eslint …

    Read More
  • Redux Setup in Your React Project - Personal Preference

    Apr 22, 2021 · 4 min read  ·
    Share on:

    The first thing is to install libraries for redux, as you may guess: 1npm install -S redux react-redux redux-logger reselect redux-persist redux-logger is a redux middleware which is really really helpful in development, but it's up to you whether to use it or not. reselect is a memoization implementation for redux. …

    Read More
  • How to Handle "Content-Type" in a Post Request Header

    Mar 13, 2020 · 1 min read  ·
    Share on:

    Value Description application/json Indicates that the request body format is JSON. application/xml Indicates that the request body format is XML. application/x-www-form-urlencoded Indicates that the request body is URL encoded. In some scenarios, for example, when we are going to send POST requests from a …

    Read More

crazyoptimist

Software Engineer
Read More

Featured Posts

  • Automatic Https With Caddy - Extremely Easy
  • How to Deploy Next.js App to AWS EC2 in Production and Set up CI/CD with Github Actions
  • GPG Key in Git - Get Your Every Commit Verified
  • Deploy Your Web Apps in Just a Minute - Made With 💖 for Dockerists

Recent Posts

  • Python Development Environment Setup - an Excellent Way
  • Setup Neovim with vim-plug on Windows 11

Categories

DEVOPS 23 NETWORK 11 LINUX 6 DOCKER 3 GOLANG 3 JAVASCRIPT 3 VIM 2 PYTHON 1
crazyoptimist

Copyright  CRAZYOPTIMIST. All Rights Reserved