select() doesn't seem to work properly with reselect
See original GitHub issueconst dogSelector = createSelector(
dogsSelector,
dogIdSelector,
(dogs, dogId) => {
// this only gets fired once, not twice.
console.log('dogs', dogId);
return dogs.get(dogId);
}
)
// In the saga...
const dogs = [1,2,3];
for (let dogId of dogs) {
let dog = yield select(dogSelector, {params: {dogId}});
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Materialize CSS - Select Doesn't Seem to Render
The solution that worked for me is by calling the 'material_select' function after the options data has been loaded.
Read more >Excel Data Validation Tips and Troubleshooting - Contextures
This page has data validation tips, and shows how to fix Excel data validation problems, such as drop down not working, blank selected, ......
Read more >A device driver is not installed or a hardware device does not ...
If the device is installed but still does not seem to be functioning correctly, go to the "Next steps" section. Step 3: Use...
Read more >IntelliSense in Visual Studio Code
Pressing Tab or Enter will insert the selected member. You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing...
Read more >How to enable JavaScript in your browser and why
Toggle the "javascript.enabled" preference (right-click and select "Toggle" or double-click the preference) to change the value from "false" to "true ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@adjohu, I use reselect and redux-saga together in this way and it seems to work ok, so perhaps there’s an error elsewhere? Here’s a quick fiddle: https://jsfiddle.net/npbee/bsvh7mgw/
@adjohu are you using immutable js here?