First of all, this has nothing to do with Reaction. This is part of ECMAScript 6 (or JavaScript 2015, if you prefer).
What you see here is called Destruction Destination :
const {girls, guys, women, men} = state;
You will probably come across a similar patter when learning React:
import { methodA, methodB } from "my-module";
In this case, you have a module called my-module , which displays some functions. With the syntax import {} from you choose which functions you want to import. Note that this is not a destructive assignment, although it works the same way.
source share