Regarding whether to eat salt, in fact, I hope everyone can remember a number: the daily intake of edible salt is below 6 grams (about the amount of a beer bottle cap).
The statement that you need to eat less salt to lose weight comes from the fact that excessive intake of sodium will correspondingly lead to water retention in the body, which is equivalent to what people often call "edema". Some people drink too much water at night and feel a little swollen the next day. This is true, and water retention also increases their weight to some extent. Moreover, excessive salt intake may increase the risk of hypertension in China and endanger people's health.
Therefore, reducing salt intake can theoretically temporarily eliminate excess water in the body in a short time, but it is not a way to lose weight. If you want to lose weight, you should make sure that you consume more calories than you take in. Under normal circumstances, only some special people, such as patients with renal failure and hypertension, recommend a low-salt diet. For the average person, the daily intake