I will be talking with MDG team members about whatever the most interesting topics have been for the last month or so, and Iād like to get your help with that.
Reply here and let us know which recent topics are the most important to you!
About TRANSMISSION
TRANSMISSION is a monthly show covering the most important topics to come out of the Meteor Forums. Each month we need your help to pick the most relevant forum posts for us to discuss with MDG.
I found this discussion interesting: Method much faster than subscribe. It also seems to me that there should be a method on initial subscription to get all the current data as a single message (or a few if size is an issue). For example I have a teacher dashboard that needs access to all the students in a large class - if the teacher connects while the class is running, I see 300 websocket messages to transfer the names and IDs of 300 students - seems very inefficientā¦
Another thing Iām curious about is Flow - is there any thought about adding Flow type definitions to Meteor code? What Iād really like to be able to do is to add strong types for my collections, and actually statically enforce that if you do
type Images = {_id: string, url: string, options: Object}
// and somehow declare that the collection Images has the Images type
const a = Images.findOne('dadasdasda)
console.log(a.age) // error! Object a does not have the property age
If it isnāt too specific, possibly some thoughts on best practices for integrating perfect code splitting with Flowrouter? Googling āmeteor flowrouter perfect code splittingā doesnāt seem to bring much up.
I would also be interested in some insight into the āMethod much faster than subscribeā discussion (linked above) from somebody familiar with Meteorās inner workings. I get the sense that such performance considerations are not very clear to many Meteor developers (myself included) and as such the discussion would benefit many.
If you guys havenāt done it yet, I thought this topic could fit neatly with the discussions around MongoDB Change Streams and Methods being faster than pub/sub.