Signal isn't susceptible against sim swaps. You can add a registration lock that requires a pin that prevents that kind of takeover.
You also should only loose your chats if you re-install the app and don't restore a backup, were they just gone? That's probably something you might want to open an issue with signal directly.