mobxjs / mobx-utils

Utility functions and common patterns for MobX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use computedFn as decorator

Menci opened this issue · comments

commented

Why don't design computedFn to use it as a decorator? fn = computedFn(function ()) is very ugly and inconvenient in TypeScript.