In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "All native npm packages' metadata is in the package.json file."
A block of code is set as follows:
function Greeting({ hello }) {
return <div>{hello}</div>;
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
server.addProtoService(messages_proto.Messages.service, {
sendMessage: sendMessage,
clientStream: clientStream
});
Any command-line input or output is written as follows:
>> sudo apt-get update
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Here, we added an inner grid with two full-size columns; one for the Price of an item and the other will wrap up the Quantity component."