Skip to content

Instantly share code, notes, and snippets.

View JoshHyde9's full-sized avatar
๐Ÿ™ƒ
Just vibin my dude

Josh Hyde JoshHyde9

๐Ÿ™ƒ
Just vibin my dude
  • Melbourne, Australia
  • 21:44 (UTC +10:00)
View GitHub Profile
@JoshHyde9
JoshHyde9 / react.md
Last active October 19, 2022 02:08
Notes for introduction to React

React

What is React?

React is a declaritive component library for JS.

What are the advantages of React?

  • Virtual DOM
    • Virtual DOM is a concept of the UI kept in memory and synced with the real DOM. This allows us, as developers to update a certain state of the UI instead of the entire page.
@JoshHyde9
JoshHyde9 / git.md
Last active April 27, 2022 07:54
An introduction to git

git - an open source version control system


Why use a version control anyway?

It's a good as idea dumbass. You can easily revert changes (either the entire project or just files) to a previous commit, it also tells you what users commit what changes to the project. Other users can "clone" your git repository (repo) to easily create a copy of the code you have distributed.

There are three possible states of a file

  1. staged which means the files are marked to be committed.
  2. modified which means the files with the updated changes have not been stored in the repo.