Skip to content

Instantly share code, notes, and snippets.

@nross83
nross83 / feedback.md
Last active April 13, 2025 22:44
Feedback

Use Vite

It has a built-in dev server and with a single config file you can have really fast local builds with hot module reloading and also production builds. It will also let you do any of the proxy server custom stuff you might need as well. It's the gold standard for any React SPA application right now.

Use Eslint and Prettier

Prettier is a game changer for me. Everyone on our team writes Javascript however they want (semi-colons or not, tabs vs spaces, curly braces on same line or next, etc) and Prettier normalizes it to look like a single person wrote it all.

For Eslint, I use the eslint:recommended set of rules and if I don't like something I will override it in the config. Prettier also has a plugin for eslint which ignores all linter rules related to formatting (since Prettier does the formatting automatically). If you decide to use Prettier, I would suggest that as well.

To enforce usage of Prettier and Eslint, I use [lint-staged](https://github.com

State Capital Since Area Population MSA/µSA CSA Rank
Alabama Montgomery 1846-01-01 159.8 198525 373290 461516 3
Alaska Juneau 1906-01-01 2716.7 32113 32113 3
Arizona Phoenix 1912-01-01 517.6 1680992 4948203 5002221 1
Arkansas Little Rock 1821-01-01 116.2 197312 742384 908941 1
California Sacramento 1854-01-01 97.9 513624 2363730 2639124 6
Colorado Denver 1867-01-01 153.3 727211 2967239 3617927 1
Connecticut Hartford 1875-01-01 17.3 122105 1204877 1470083 3
Delaware Dover 1777-01-01 22.4 38079 180786 7209620 2
Florida Tallahassee 1824-01-01 95.7 194500 387227 7
# Settings for Atom
@nross83
nross83 / .git%2FCOMMIT_EDITMSG
Last active April 5, 2017 14:46
Settings for ST3
Merging
@nross83
nross83 / immutable-comparison.md
Last active February 17, 2017 01:40
Immutable Data Structures Comparison

Pros

  • Freezes objects in development mode, but not in production. Allows for much better performance
  • Can be used as regular JS objects and arrays. Allows destructuring, rest operators, etc
  • Adds helper functions such as setIn, merge, update, etc
  • Much simpler API than ImmutableJS
  • Allows for converting an Immutable object to mutable for common mutation tasks (push, unshift, etc) and then sealing it back up with a new Immutable constructor call.
  • 2809 stars on GH

Cons