Best Practices

Here's a list of best practices to follow when using Convect:

Idempotent Handlers

Ensure that your Convect handlers are idempotent. This means that if the same batch is processed multiple times, it should not have any side effects. This is important because Convect may reprocess transactions in case of failures or retries.

Use the latest version

Always use the latest version of Convect to take advantage of the latest features and bug fixes.

Use TypeScript

Convect is designed to work best with TypeScript. Using TypeScript will help you catch errors early and improve the overall quality of your code.