goatslacker / goatslacker/alt

Give a warning if bindActions fails to bind?

Open
#617 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.4k
Forks
312
PR merge metrics
No merged PRs in 30d

Description

Let's say you have code like this:

``` javascript
class LaneStore {
constructor() {
this.bindActions(LaneActions);
}
...
}
```

It would be useful if Alt gave warnings for missing bindings during development. Now it's easy to typo a method and miss it given it fails silently.

Contributor guide

Open the contributing guide

Research direction

Start at the bindActions entry point and reproduce the LaneStore example with a misspelled method name. Trace how missing bindings are handled, then verify that development use reports a warning while successful bindings continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.