Download react-boilerplate/internals/templates/containers/App/selectors.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/containers/App/selectors.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/internals/templates/containers/App/selectors.js
-
curl -L -o selectors.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/containers/App/selectors.js
236 Bytes
| import { createSelector } from 'reselect'; | |
| const selectRouter = state => state.router; | |
| const makeSelectLocation = () => | |
| createSelector( | |
| selectRouter, | |
| routerState => routerState.location, | |
| ); | |
| export { makeSelectLocation }; | |