Open NullVoxPopuli opened 11 months ago
In pairing with folks, resourceFactory is juuust clunky enough to create a knowledge cliff in learning resources
For clarification this is the removal of resourceFactory in
resourceFactory
const Timer = resourceFactory(updateMs => { return resource(() => { setInterval(() => { /* ... */ }, updateMs); }); });
and enabling this
function Timer(updateMs) { return resource(() => { setInterval(() => { /* ... */ }, updateMs); }); }
This has the benefit of:
Sample babel Plugin: https://astexplorer.net/#/gist/1833c986a7167eba0875eaf100a11adb/fb2cb060d563818908747ea2959886c837988759
Options:
In pairing with folks, resourceFactory is juuust clunky enough to create a knowledge cliff in learning resources
For clarification this is the removal of
resourceFactory
inand enabling this
This has the benefit of:
Sample babel Plugin: https://astexplorer.net/#/gist/1833c986a7167eba0875eaf100a11adb/fb2cb060d563818908747ea2959886c837988759
Options: