My views are that polyester tends to do better for UV resistance... But in both materials the darker colours are more resistant to UV than light ones. No matter which you use. Black is most UV resistant.

Polyester doesn't stretch as much as nylon but in a hammock body some stretch adds to the comfort IMO. Also as was pointed out nylon tends to be more abrasion resistant