Skip to content

Tag: reselect

how to build object JS

I have an array of booking and types. From these two arrays I need to build an object. Everything works great, except for the types. Types return an array in each object (same). How can you return the correct object? Answer found a solution to my problem. It was enough to add indexes

Use reselect selector with parameters

How do I pass additional parameters to combined selectors? I am trying to • Get data • Filter data • Add custom value to my data set / group data by myValue console.log(myValue) returns undefined Answer Updated: 16 February 2022 New Solution from Reselect 4.1: See detail Updated: 6 March 2021 Solution from Reselect: See detail Old: This is my