• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Faking asynchronous component rendering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Faking asynchronous component rendering


  • Subject: Faking asynchronous component rendering
  • From: Hugi Thordarson <email@hidden>
  • Date: Fri, 06 Jan 2017 18:19:57 +0000

Hi all,
I’ve been speeding up some of my slower/more data-heavy components by making them load their data asynchronously before rendering, using something similar to this:

https://gist.github.com/hugith/14f9a77d4b7d270dd6003084fdea7fb8

It *works* but is obviously somewhat cumbersome and has shortcomings (lack of type safety and compile-time safety for variable names being two).

Just wanted to check if anyone is doing something awesome in this regard, or has better ideas about how to make the component data loading/rendering process more asynchronous?

Cheers,
- hugi
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Maven + WOnder 7
  • Next by Date: Re: Faking asynchronous component rendering
  • Previous by thread: Re: Maven + WOnder 7
  • Next by thread: Re: Faking asynchronous component rendering
  • Index(es):
    • Date
    • Thread