Hi! ![]()
Introduction
I had released this as a gist already & mentioned in my recent āState of Blazeā - posts, tooā¦
But here it is now: a babel plugin to automatically add Tracker.withComputation - statements throughout your async code
This is one puzzle piece to enable bigger (Blaze?) codebases with more complex reactive code in the client to continue to work without having to manually Tracker.withComputation to every other line.
You can play with it here: ![]()
![]()
Playground - AST Explorer ![]()
![]()
- your code goes top left, bottom right is the modified code.
Current Status
It helps us, weāre using it already, weāre putting our first Async version into production this week - weāre maybe 50% through with our source code - and we had ca. 800 files changedā¦
So yeah! Big piece of the puzzle, and Iād be happy about some feedback.
Blaze State-Of-The-Union right now
Good news also on the Meteor.callAsync front recently, there seem to be actually two approaches wanting to be evaluated right now: Proposal to fix issues with async method stubs
Iāll go over & update the transition documentation I recently started when Iāll find the time in the upcoming days too.
I think itāll might make sense to split the migration documentation into two parts, Meteor in General and one for Blaze Projects, as Blaze projects are different beasts when it comes to the migration IMHO.
Also, thereāll be a Meteor Roundtable Talk talk next Tuesday on Youtube where I hope weāll speak about the current status of BlazeJS, FYI, catch you there everybody!
FEEDBACK WANTED!!!
Itād be nice to get some feedback on the general direction for this plugin.
As all of you developers know, itās a lot of work to develop these tools, to polish them up, and to release them.
Itād be cool to hear what you guys are thinking to keep me motivated to continue working on more Blaze-related migration stuff ![]()
All the best everybody!!!