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

Vanilla JS Refactoring #563

Merged
merged 36 commits into from Jun 5, 2023
Merged

Vanilla JS Refactoring #563

merged 36 commits into from Jun 5, 2023

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented May 5, 2023

implement some things in vanilla js that were previously only in react land:

  • more sophisticated Drawer to schedule drawing haps in past present and future, similar to usePatternFrame hook
  • new @strudel/codemirror package that uses Drawer + repl as part of new StrudelMirror interface
  • added a new example "vite-vanilla-repl-cm6" as a demo
  • removed time.mjs + refactored usages
  • new @strudel/web package that simplifies using strudel as a library

TODO:

  • integrate relevant bits into core package
  • create codemirror package

in a future PR, the react package can also be refactored to use Drawer (and maybe codemirror package?) (#564)
I am also thinking about reimplementing the main repl in SolidJS :P

also check out this sandbox

@felixroos felixroos marked this pull request as ready for review May 5, 2023 22:34
@felixroos
Copy link
Collaborator Author

finally merging this now..

@felixroos felixroos merged commit 11733d5 into main Jun 5, 2023
2 checks passed
@felixroos felixroos deleted the vanilla-highlighting branch June 5, 2023 19:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant