handlebars-lang / handlebars-lang/docs

Dissuade deprecated slash syntax

Open
#181 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
42
Forks
57
Avg merge
6h 39m
Merged PRs (30d)
2

Description

On [the Expressions page], slash syntax for object paths is said to be deprecated, but suggests that you may still use it as if an alternative.

[the Expressions page]:

> Handlebars also supports a deprecated `/` syntax, so you could write the above template as:
>
> ```handlebars
> {{person/firstname}} {{person/lastname}}
> ```

Deprecation of this syntax isn't clearly annotated and can even be seen as a suggestion for an alternative syntax.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.