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

Will there be a vanilla JavaScript version of the plugin? #9

Open
NullVoxPopuli opened this issue May 17, 2024 · 1 comment
Open

Will there be a vanilla JavaScript version of the plugin? #9

NullVoxPopuli opened this issue May 17, 2024 · 1 comment

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented May 17, 2024

I see that the plugin is primarily focused on React, (and forcing it via peers) -- but there is some vanilla JS code within.

Could that code be extracted? or maybe better, could "The plugin" be vanilla JS only, and the react bits be extracted to a plugin-react project?

For example, if I'm using Angular, Vue, or Svelte, I don't really want to have to adopt another stack 😅

thanks!

(If ya'll only want to support React, and not frameworkless environments, that's perfectly within ya'lls prerogative, too ❤️ )

@Pearce-Ropion
Copy link
Collaborator

Pearce-Ropion commented May 22, 2024

You should be able to use the framework agnostic API without react. I think we could potentially change the react peer to be optional but that change shouldn't be required for you to use it that way if you are ok with ignoring the peer warning in the meantime.

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