5 Matching Annotations
- Mar 2021
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
Here's where I start to have a preference for Svelte; the two are very similar but once I got used to Svelte I found that React felt like jumping through hoops. You can't create a worker instance, it has to go in a useRef, and then you can't easily pull code out into a function without then requiring useCallback so it can be a safe dependency on useEffect. With Svelte I write code that's closer to "plain" JavaScript, whereas in React more of my code is wrapped in a React primitive.
-
-
trailblazer.to trailblazer.to
-
Trailblazer::Developer.wtf?(Signup, ctx)
-
Admittedly, both the signature and the return values of invoke feel a bit clumsy. That’s becaus we’re currently working with the low-level interfaces.
-
-
trailblazer.to trailblazer.to
-
You don’t have to stick to the task interface! The [circuit interface] is a bit more clumsy, but gives you much better control over how ctx and signals are handled.
-
The circuit interface is a bit more clumsy but it gives you unlimited power over the way the activity will be run.
-