DEV Community

loading...

Discussion on: Good Bye Web APIs

mvila profile image
Manuel Vila Author

didn’t see anything novel compared to Meteor

Let me give you a hint: cross-layer inheritance.

Thread Thread
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.