Check out the sidebar resources over at /r/fasting re: electrolytes. They have a super simple/straight forward guide.
If you’re just doing IF though, and not +24h fasts, you probably don’t need to worry about electrolytes and supplements etc. assuming you’re eating a relatively healthy/balanced diet in your feeding window.