A potential employer should understand that short-term contracting requires different skills. Contractors generally have to start producing right away and also manage communications and “onboarding” themselves, while possibly juggling multiple commitments.
Interviewers may interpret a history of contract work as lack of commitment to an employer. You need to prepare to overcome that objection. Long-term contracting relationships look good.
Whether contract or full-time I emphasize the nature and success of the project and my part in it rather than my payroll status.