Enterspeed Product Updates logo

Product Updates

See the latest new features, improvements, and product updates

Subscribe to Updates

Labels

  • All Posts
  • Fix
  • Feature
  • Improvement
  • Announcement
  • Product Update
  • 🤫 Teaser
  • 🛠 Service
  • 💡 Tip

Jump to Month

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • April 2023
  • January 2023
  • November 2022
  • September 2022
  • June 2022
  • March 2022
  • January 2022
  • December 2021
  • November 2021
Powered️ byAnnounceKit

Create yours, for free!

Improvement
3 years ago

API design: Simplifying the properties 😌

"Developers, developers, developers!"

We're almost as excited for developers as Steve Ballmer (no one can quite reach his level).

Since we're so excited for developers, we want to make the developer experience as great as possible.

One way we have done this is by reducing the amount of code needed when writing properties. We've introduced shorthands!

Before when you needed to output a string, you had to write something like this:


To improve this, the $exp key is no longer required. You can simply write:

And, if you're inserting a string, you can simply write.

And... Since properties is a pain to write every time, you can now simply write p.

Awesome stuff 🙌

To avoid confusion and to keep consistency, we are also replacing (though still supported) the old viewHandle and view reference and replacing them with alias.

The old way:

The new way:


Avatar of authorEnterspeed