DEV Community


Discussion on: Good Bye Web APIs

andyobtiva profile image
Andy Maleh • Edited

Saw that too. Developers could already do that before since classes/prototypes are shared in Meteor anyways with a toggle for writing extra code as client only (or server only), enabling one to do extra inheritance on the client (or server) when needed. And, that was back in 2014 or earlier if I remember right.

Thread Thread
mvila profile image
Manuel Vila Author

What you're talking about is very different. Layr doesn't share code across layers, it transports the state of the objects when you call a method. To see what I mean, try to implement the example given in the article with Meteor.