Ask AI
Skip to main content

On Enter Backend Function

The On Enter Backend Function analyzer detects reusable components that trigger a backend function call when the page loads.

Because reusable components appear on multiple pages, an ON_ENTER backend call will fire every time any of those pages is loaded. This can cause unnecessary server load and performance issues.

How to fix it

Avoid placing backend function calls in the ON_ENTER action of a reusable component. Move the logic to the specific page instead.

Severity

Major - repeated backend calls on page load can cause performance issues across all pages that use the component.