Skip to main content

Pascal Case

Pascal Case is a naming convention. If we are writing a number of words without space then it is called compound word. Normally we are using compound words while naming variables, classes , functions or objects. In PascalCase the first letter of each word is capitalised. Generally software developers use this to write function or class names. In React it is used to write component names.

similarity with camel case.

First letters of all words are capitalised in Pascal case where as First letters of second word onwards are capitalised in camel case.


NewComponentName // PascalCase
newVariableName // camelCase