Search code examples
javascriptreactjsstatereserved-words

Is "state" a reserved word in React?


I tried the React documentation, but couldn't find anything about reserved words. I was wondering: is state in React a reserved word?


Solution

  • No state is not a reserved word. I don’t think there are any specific to react but there are reserved keywords in javascript language.