humanmade / humanmade/repress

Should getSubstate be moved into the constructor?

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Rather than passing `getSubstate` into each helper method, should it instead be registered in the constructor? This would simplify it, but also removes some of the separation. Is that a good thing?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.