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 81
static string
authRegister()
Stub for auth/Register.jsx page component.
at line 178
static string
authResetPassword()
Generates reset password view for auth controller.
at line 236
static string
defaultComponentTemplate(string $componentName)
Generates a component with default export.
at line 257
static string
errorNotFound()
Stub for restoring required error/NotFound.jsx page component if accidentally deleted.
at line 276
static string
homeIndex()
Stub for home/Index.jsx page component.
at line 357
static string
hookTemplate(string $hookName)
Returns contents for a new hook file.
at line 374
static string
namedComponentTemplate(string $componentName)
Generates a named export component.
at line 392
static string
profileImageSorter()
Stub for ProfileImageSorter.jsx component.
at line 546
static string
profileEdit()
Stub for profile/Edit.jsx page component.
at line 630
static string
profileIndex()
Stub for profile/Index.jsx page component.
at line 710
static string
profileUpdatePassword()
Stub for profile/UpdatePassword.jsx page component