Skip to content

Instantly share code, notes, and snippets.

View sa-adebayo's full-sized avatar
🏠
Working from home

Adebayo Akinlaja sa-adebayo

🏠
Working from home
  • Japan
View GitHub Profile
@sa-adebayo
sa-adebayo / Immutable Proxy Hack (Javascript)
Last active May 14, 2018 17:22
Proxy that makes immutable object accessible via dot-notation (hack!)
const Immutable = require('immutable');
const immutableProfile = Immutable.fromJS({
data: [
{
name: 'Adebayo Akinlaja',
gender: 'Male',
properties: {
eyeColor: 'Blue',