trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

[TRI-4137] Add vanilla JS frontend support for Realtime

Open matt-aitken opened this issue 1 year ago • 0 comments

We have a React hooks package (@trigger.dev/react-hooks) but no easy way of using it from other frameworks or using just JS.

Currently there's quite a lot of code inside the React hooks package, it uses our core package and has to build up state from the stream.

We should extract some of this logic out and create an export from @trigger.dev/sdk/v3/browser. With some docs, this will allow people to consume Realtime from their frontend (without React).

We aim to also have packages for other popular frameworks, this should be used by them too.

TRI-4137

matt-aitken avatar Dec 02 '24 17:12 matt-aitken