Loading tutorials
{propertyName} expressions in a template. You'll make a child component's field public, so a parent can set it.2 min read{property} expressions in a template. It also assumes you know how to mark a field with @api so a parent can set it. Here you learn how a property name in the child's JavaScript maps to an attribute name in the parent's 2 min read@api makes a child field public. Here you connect a parent's JavaScript values to those child properties.2 min read{expression} bindings in a template. It also assumes you know how to expose a child property with @api and set it from a parent template. Here you will see what happens after that first render, when the parent's data cha2 min read{property} expressions in a template, and set a child's @api property from a parent. It covers one narrow topic: how boolean public properties behave in markup, and why they should start as false.2 min read@api and set it from a parent template. Here you will learn the rule that governs what the child may do with that value.3 min read@api exposes a public property. It also assumes you know that a child must not change values it receives from its parent. Here you will apply that rule to objects and arrays.3 min read@api properties and template bindings work. You should also be comfortable with arrays and arrow functions in JavaScript.3 min read@api property from its template. It also assumes you are comfortable with classes, spread syntax, and the idea that values a child receives from a parent are read-only.3 min read@api and set it from a parent template. Here you will learn how a parent asks a child to do something by calling a public method.3 min read@api properties, and bind values in a template. You will learn when to pass markup to a child through a slot instead of passing a value through a property.2 min read@api, and bind values in a template. It also assumes you know the one-way data flow rule from earlier chapters.2 min read@api, set it from a parent template, and copy objects and arrays in a child. It collects the mistakes that most often break parent-to-child data flow and shows how to find each one.3 min read