Skip to content

Instantly share code, notes, and snippets.

View aliaksandr-kazarez's full-sized avatar
🔫
Жаль, нет ружья

Aliaksandr Kazarez aliaksandr-kazarez

🔫
Жаль, нет ружья
View GitHub Profile
@btroncone
btroncone / ngrxintro.md
Last active July 5, 2025 14:15
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@bradydowling
bradydowling / gist:07b2cc2c1f35778c8a66
Last active August 29, 2015 14:12
Using Function Declarations with JavaScript
// Using a function declaration, I cannot assign different values to a variable conditionally.
// All declarations will be hoisted to the top of the code and the latest declaration will apply.
var day = 'Friday';
if (day === 'Friday') {
function myGreeting () {
return "Happy Friday!";
}
}