Faking asynchronous component rendering
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