Skip to content
ZOLO / TE750 Type · error

action lifecycle member used on an ordinary function

Compiler diagnostic TE750: action lifecycle member used on an ordinary function.

Why this fires

TE750 means a lifecycle member such as pending, error, or state was read from an ordinary function. Only a reference to a function declared with @action has the nominal ActionFn<...> type and a client-side lane.

fn save() { }

@island
fn Card() {
  let saving = save.pending
  // error[TE750]: lifecycle members exist only on an @action reference
}

Fix it

Use the intended @action reference. If this function truly is a server action, declare and review it as one; Zolo deliberately does not offer an automatic quick fix that could expose an arbitrary effectful function as a remote endpoint.

Global index

Find your way through Zolo

Try an idea

Start here

9 results

9 results

en