ReactStubs
class ReactStubs
A collection of React.js view, component, and util stubs.
Methods
Sub for auth/Login.jsx page component.
Stub for auth/Register.jsx page component.
Generates reset password view for auth controller.
Generates a component with default export.
Stub for restoring required error/NotFound.jsx page component if accidentally deleted.
Stub for home/Index.jsx page component.
Returns contents for a new hook file.
Generates a named export component.
Stub for ProfileImageSorter.jsx component.
Stub for profile/Edit.jsx page component.
Stub for profile/Index.jsx page component.
Stub for profile/UpdatePassword.jsx page component
Details
at line 14
static string
authLogin()
Sub for auth/Login.jsx page component.
at line 79
static string
authRegister()
Stub for auth/Register.jsx page component.
at line 184
static string
authResetPassword()
Generates reset password view for auth controller.
at line 241
static string
defaultComponentTemplate(string $componentName)
Generates a component with default export.
at line 262
static string
errorNotFound()
Stub for restoring required error/NotFound.jsx page component if accidentally deleted.
at line 281
static string
homeIndex()
Stub for home/Index.jsx page component.
at line 361
static string
hookTemplate(string $hookName)
Returns contents for a new hook file.
at line 378
static string
namedComponentTemplate(string $componentName)
Generates a named export component.
at line 396
static string
profileImageSorter()
Stub for ProfileImageSorter.jsx component.
at line 551
static string
profileEdit()
Stub for profile/Edit.jsx page component.
at line 639
static string
profileIndex()
Stub for profile/Index.jsx page component.
at line 721
static string
profileUpdatePassword()
Stub for profile/UpdatePassword.jsx page component