She cannot feed and bite in the same time as it is impossible so yes proper latch helps. You can continue to BF and she may not bite you even once for ages, but when it happens it bloody hurts so be prepared as screaming will scare her. You can pinch her cheek as soon as she does it, this will make her open her mouth and you can escape. Do it as soon as so she understands. My LO has now 6 teeth and only yesterday she bit me and then jerked her head back, there was blood and I cried for 5 min. Then I had to continue breastfeeding as she is EBF and trust me I was sweating and praying she won't do it again. It is still healing so there is pain every time i feed her.
You can also buy nipple shields, it will feel weird for you and her for first time but it does work if you are worried. Novelty of biting will wear off. HtH