Skip to content

Instantly share code, notes, and snippets.

@gitmathub
gitmathub / micro-frontends.md
Last active February 29, 2020 21:34
Micro Frontends

Microfrontend principals

  • Business domain representation

  • Autonomous code base

  • Independent deployment

  • Single-team ownership

  • Article about Mircro Frontends with example frontend code. Author of

@gitmathub
gitmathub / test-driven-development.md
Last active February 29, 2020 08:29
TTD Test Driven Development
@gitmathub
gitmathub / bbd.md
Last active February 29, 2020 20:16
BBD Behavior Driven Development

Unit vs. Integration Testing

  • unit testing
    • check as many of the business scenario’s edge cases as possible with unit tests
    • test behavior not implementation
    • don't test trival code
    • focus on algorithms and public methods
  • integration tests
    • cover one happy path per business scenario
  • any edge cases that can’t be covered by unit tests
@gitmathub
gitmathub / react-project-setup.md
Last active September 23, 2019 13:03
Setup a React Project
@gitmathub
gitmathub / react-prototype-tools.md
Last active January 2, 2020 03:49
React Prototype Tools
@gitmathub
gitmathub / js-parameters.md
Last active April 4, 2019 07:54
Parameter Mutants

Mutate Parameters

It's common practice to mutate the parameters in JS. But there are some good reasons not do to. And ways how to do it better.

Docs

Call By Sharing

Javascript passes object to a function by Call by sharing. Can be said to pass by copy of reference.