Skip to content

Instantly share code, notes, and snippets.

@PavanGangireddy
Last active April 13, 2020 16:20
Show Gist options
  • Save PavanGangireddy/b8c4769b3044c50bbcaefbb99a4736ca to your computer and use it in GitHub Desktop.
Save PavanGangireddy/b8c4769b3044c50bbcaefbb99a4736ca to your computer and use it in GitHub Desktop.
* The below words whether they are used as a note, component name, model name, store name should be in right casing,
based on the context, across web and app projects.
Lower camelCase - Pascal Case
signin - Signin
signout - Signout
checklist - Checklist
logout - Logout
login - Login
datetime - Datetime
datePicker - DatePicker
popup - Popup
sortby - Sortby
filterby - Filterby
model - Model (As a Class Model, used in Mobx Stores)
modal - Modal (As a UI overlay modal)
modalContainer - ModalContainer (when used as component/container name)
checkbox - Checkbox
dropdown - Dropdown
placeholder - Placeholder
navbar - Navbar
sidebar - Sidebar
tabbar - Tabbar
bottomTab - BottomTab
errorbarFooter - ErrorbarFooter
otp - OTP
api - API
alh - ALH
faq - FAQ
mobileNumber - MobileNumber
mobileNo - MobileNo
phoneNumber - PhoneNumber
phoneNo - PhoneNo
circularProgress - CircularProgress
profilePic - ProfilePic
multimedia - Multimedia
backendConstants - BackendConstants
username - Username
flatList - FlatList
textInput - TextInput
cctv - CCTV
tooltip - Tooltip
@PavanGangireddy
Copy link
Author

  1. Difference between active/inactive and enabled/disabled
  2. Why it is not a good practice we use type as a prop key for buttons? whats the better practice? https://baseweb.design/components/button/

@PavanGangireddy
Copy link
Author

  1. Difference between change/modify? When to use what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment