When do you use dot notation and when do you use bracket notation?
Dot notation is the default choice, because it reads better and because it tells the reader and the type checker that the key is a name that is already known. Use it whenever the property name is a valid JavaScript identifier and you know the name when you write the code.
Bracket notation is needed in four situations. The key is dynamic, which means it is held in a variable. The key contains characters that are not allowed in an identifier, such as a space or a hyphen. The key is a symbol rather than a string. Or the key is a reserved word, where the bracket form is the clearer choice even though modern engines now accept reserved words after a dot.
There is also a performance point, and it is smaller than it used to be. Modern engines compile both forms into roughly the same property access when the key is a literal string, so the old argument that bracket notation is slower no longer holds for fixed keys. It is only noticeably slower when the key is a computed expression that the engine cannot treat as a fixed name, because the lookup is then harder to cache.
The style rule for a team is simple. Use dot notation unless you have a reason not to. The reason is really about readability and tooling rather than speed. Bracket notation everywhere makes the code look dynamic even when it is not, and it turns off the autocomplete in most editors.