Nothing to worry, but "no" is not enough. She obviously is not responding. Be clear by action. Dr. Aldort says that young ones don't respond to words as much as to body sensations. She say, catch her hand in mid air, or right after (if you missed it) and remove her from you while offering somehing that will give her a similar sense of power.
When my son did the same thing, about the same age, I would hold both of his hands in mine every time he tried and I would say "No" I held his hands for a total of maybe 5 seconds, and after about 2 days, he stopped hitting. Good Luck
If you can predict it happening then try to catch her hand before she can dish out the slap and say something like Your not going to hit mummy are you in a gentle but firm voice, that way instead of telling her off for hitting you you can praise her for not hitting you.
Good idea to try catch her hands before the action, but avoid praise. Read Punished by Rewards, and the set of articles called The Price of Praise from Life Learning magazine.
Also, I wouldn't even use the word "hit" or "hitting."
I would hold the hands and just say loud and clear "Woops, here, you can bang the pillow."