Download react-boilerplate/app/containers/App/constants.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 633 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/app/containers/App/constants.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/app/containers/App/constants.js
-
curl -L -o constants.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/app/containers/App/constants.js
633 Bytes
| /* | |
| * AppConstants | |
| * Each action has a corresponding type, which the reducer knows and picks up on. | |
| * To avoid weird typos between the reducer and the actions, we save them as | |
| * constants here. We prefix them with 'yourproject/YourComponent' so we avoid | |
| * reducers accidentally picking up actions they shouldn't. | |
| * | |
| * Follow this format: | |
| * export const YOUR_ACTION_CONSTANT = 'yourproject/YourContainer/YOUR_ACTION_CONSTANT'; | |
| */ | |
| export const LOAD_REPOS = 'boilerplate/App/LOAD_REPOS'; | |
| export const LOAD_REPOS_SUCCESS = 'boilerplate/App/LOAD_REPOS_SUCCESS'; | |
| export const LOAD_REPOS_ERROR = 'boilerplate/App/LOAD_REPOS_ERROR'; | |