Skip to content

Instantly share code, notes, and snippets.

class ClassTest {
public static class A_MODEL {
public B_MODEL b;
public C_MODEL c;
}
public static class A_DTO {
public B_DTO b;
}
@nestharus
nestharus / disposer.js
Last active March 10, 2018 04:25
mobx observable map
export function once(func) {
let invoked = false;
return function() {
if (invoked) {
return;
}
invoked = true;