- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead. This usually also provides slightly better matching performance. - Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.] - If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining

{{links}}
React Plugin for Nx
{{what-is-nx}}
{{getting-started}}
? Workspace name (e.g., org name) happyorg
? What to create in the new workspace react [a workspace with a single React application]
? Application name myapp
? Default stylesheet format CSS
If it's your first Nx project, the command will recommend you to install the nx package globally, so you can invoke nx directly without going through yarn or npm.
Serving Application
- Run
nx serve myappto serve the newly generated application! - Run
nx test myappto test it. - Run
nx e2e myapp-e2eto run e2e tests for it.
Adding React Plugin Into an Existing Workspace
You can always add the React plugin to an existing workspace by installing @nrwl/react and then generating an React application, as follows: nx g @nrwl/react:app myapp.
Quick Start Videos

{{resources}}