sketch-sh
sketch-sh copied to clipboard
Move bucklescript's compiler to a worker thread
Benefits:
- Don't block the main UI thread
- Got synchronous function
importScriptto load new stuff into the environment
Consider promise-worker 's API style which is less verbose and easy to use.
Move this to P/1 . After adding ReasonReact, the response time is pretty terrible, the main thread freezes after each character
Demo:
https://sketch-git-reason-react.sketch-sh.now.sh/

BuckleScript does not exist anymore and I don't think we will have the resources to build a brand new Sketch engine for ReScript anytime soon, so closing related issues.