Skip to content

Instantly share code, notes, and snippets.

Avatar

mat gitmathub

View GitHub Profile
View micro-frontends.md

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 Feb 29, 2020
TTD Test Driven Development
View test-driven-development.md
@gitmathub
gitmathub / bbd.md
Last active Feb 29, 2020
BBD Behavior Driven Development
View bbd.md

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 Sep 23, 2019
Setup a React Project
View react-project-setup.md
View react-prototype-tools.md
@gitmathub
gitmathub / js-parameters.md
Last active Apr 4, 2019
Parameter Mutants
View js-parameters.md

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.

You can’t perform that action at this time.