Hi, I have been interested in Meteor for the longest time. I do not have any real-world experience in any major js framework. So I have been searching around for a methodology to have single code base for each model where I can validate and do some business logic. if many of my react components would use a certain date format for objects coming from a subscription. it would be really annoying to do that formatting for each component and once that format is subject for change I am screwed. While browsing this wonderful forum, I have found Astronomy which sparked my attention but I am hesitant with the mixed reviews it’s getting. So I am thinking of just creating wrappers and passing in them those collection objects. Using react context afterwards to define a var for an array consisting of those wrapped objects. utility/static methods could work as well but personally hate them. idk wth i am talking about therefore your guidance and experience would be greatly appreciated.
I am really curious on how do you guys reuse functionality especially those who actively develop in meteor or any other js frameworks.