Skip to main content

Client Entry Point

The entry point is a function that is called first when the client script runs. It takes a reSolve context object as a parameter.

client/index.js:

const main = async resolveContext => {
...
}
export default main

The resolveContext object contains data used internally by reSolve client libraries to communicate with the backend.

See the Client Application Entry Point section of the Frontend article for more information.