Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matt-aitken opened this issue Dec 2, 2024 · 0 comments
Open

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

matt-aitken opened this issue Dec 2, 2024 · 0 comments
Assignees

Comments

@matt-aitken
Copy link
Member

matt-aitken commented Dec 2, 2024

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 matt-aitken changed the title Add vanilla JS frontend support for Realtime [TRI-4137] Add vanilla JS frontend support for Realtime Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants