Once #7490 is done for Umbraco 16, update the Umbraco 17 docs as well. Everything that applies to Umbraco 16 will probably also apply to Umbraco 17, but run a quick check to be sure.
Area: frontend
Link to article:
https://docs.umbraco.com/umbraco-cms/customizing/foundation/working-with-data/context-api