Skip to content

Instantly share code, notes, and snippets.

View aantipov's full-sized avatar

Alexey Antipov aantipov

View GitHub Profile
@sebmarkbage
sebmarkbage / The Rules.md
Last active February 25, 2025 11:25
The Rules of React

The Rules of React

All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it.

What Functions Are "Pure"?

A number of methods in React are assumed to be "pure".

On classes that's the constructor, getDerivedStateFromProps, shouldComponentUpdate and render.

@Restuta
Restuta / framework-sizes.md
Last active January 12, 2025 03:35
Sizes of JS frameworks, just minified + minified and gzipped, (React, Angular 2, Vue, Ember)

Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.

All files were downloaded from https://cdnjs.com and named accordingly. Output from ls command is stripped out (irrelevant stuff)

As-is (minified)

$ ls -lhS
566K Jan 4 22:03 angular2.min.js
@anvaka
anvaka / 00.Intro.md
Last active February 20, 2025 11:58
npm rank

npm rank

This gist is updated daily via cron job and lists stats for npm packages:

  1. Top 1,000 most depended-upon packages
  2. Top 1,000 packages with largest number of dependencies
  3. Top 1,000 packages with highest PageRank score
@ericelliott
ericelliott / essential-javascript-links.md
Last active February 20, 2025 13:00
Essential JavaScript Links
@staltz
staltz / introrx.md
Last active February 28, 2025 10:00
The introduction to Reactive Programming you've been missing
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active February 27, 2025 22:32
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k