Skip to content

Guideline for passing single objects from backend to frontend (current user, current project, ...)

For https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13866 there was a Slack discussion what would be the preferred way to pass single objects (not lists) from backend to frontend. We currently have multiple ways to do this in our code base:

Ajax calls can be cached in localstorage to increase performance.

Edited by Inactive Account
OSZAR »