That's not a problem with renewable energy, it's a problem with wind power. Hydroelectricity for example doesn't have this problem at all, as by definition, it stores energy in big water reservoirs at the top of giant turbines, to be released over time or whenever a need arises. In Quebec, hydroelectricity accounts for nearly 97% of all electricity produced, not just renewable, and therefore the network doesn't have the problem you mentioned.