Introduction
In Platform OneEntry, there are the necessary tools for working with registered users. In this section, you can familiarize yourself with the principles of working with users.
You can store the data necessary for your application to work in a state object. When changing the user, add the necessary data to the state. When the user's data is subsequently received, it will contain a state object.
An example in which we add information to the user about how many orders he has made. Add a field "orderCount" with the value to the state object.
const {
Users }
= defineOneEntry?('your-url'?, {
token: "your-app-token",?});