Is it financially attractive to rent a house you own in the Netherlands?

I have a primary home in Netherlands. I plan to move out of the country. Is it financially attractive to give the house on rent? I know some laws have changed recently.

Looking for different perspectives.

Thank you!