I extended all my sensor cables by 6" to match my +6" brake hoses. I also extended my locker wiring and diff breather hoses.
The rear wires are just twisted pair and easy to extend. The fronts are encased in that rubber, so I just cut them up by the frame, stripped it back and added in 6" of regular wire and covered it with some flexible hose stuff, and loosely zip tied the wiring to the brake hoses.
I soldered all the joints and used heat shrink.
I found that when flexing hard with 4"+ of lift the cables were pulling tight, but many people wheel them like that with no problems.
Do you need to do it with 4-5" of lift? most probably not, but it's so easy that I think it's worth doing and it is one less thing to worry about on the trail.