My FAFO moments
With Texture (formerly AsyncDisplayKit)
- If the shadow inside section controller is being clipped off. Make clipsToBound/layer.maskToBound false for ASCellNode
- If you are facing animation issues with Texture, try to group the concerned nodes in a container node and just animate the container. Don't use setNeedsLayout or layoutIfNeeded for root node (imp)
- If your view's frame is important to you and applying transform in an UIView animation block making it jump, try using CABasicAnimation. One latent benefit is CABasicAnimation runs on a 'proxy' layer so your host view won't get affected.
- Sometimes when we apply gradient background to a node, gradient layer appears on top of content even if it's added to the begining of sublayer hierarchy. One hack to fix this is to set zPosition of gradient layer to
-.greatestFiniteMagnitude - If you are using ASBackgroundLayoutSpec and the node that is supposed to be in background appears on top of other content you need to manually manag