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

[FR] Enable Hot Module Replacement for Plugin Development #4594

Open
3 of 6 tasks
GustavoOS opened this issue Jul 25, 2024 · 0 comments
Open
3 of 6 tasks

[FR] Enable Hot Module Replacement for Plugin Development #4594

GustavoOS opened this issue Jul 25, 2024 · 0 comments
Labels
feature Work on a feature request

Comments

@GustavoOS
Copy link

Proposal Summary

Allow hot module reload for plugin development

Motivation

  • What is the use case for this feature? Quick feedback for plugin development
  • Why is this use case valuable to support for FiftyOne users in general? Allow developers to quickly evaluate changes
  • Why is this use case valuable to support for your project(s) or organization? Less time wasted on rebuilding project
  • Why is it currently difficult to achieve this use case? Fiftyone setup does not support Hot Module Replacement

What areas of FiftyOne does this feature affect?

  • App: FiftyOne application
  • Core: Core fiftyone Python library
  • Server: FiftyOne server

Details

Usual scenario:

  • Usually, HMR is achieved with a bundler, like Webpack, Turbopack, Rollup, Rolldown or SWC
  • The application (plugin) runs in a developer mode
  • When code changes, the bundler recompiles only the changed module

So I think a solution may need to allow a fiftyone developer mode that allows HMR

Willingness to contribute

The FiftyOne Community welcomes contributions! Would you or another member of your organization be willing to contribute an implementation of this feature?

  • Yes. I can contribute this feature independently
  • Yes. I would be willing to contribute this feature with guidance from the FiftyOne community
  • No. I cannot contribute this feature at this time
@GustavoOS GustavoOS added the feature Work on a feature request label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Work on a feature request
Projects
None yet
Development

No branches or pull requests

1 participant