There is always law, natural law. We do not need a 'state' to make a law that allows 'gravity to pull stuff down'. A state can make that law if it wishes but stuff is pulled down regardless. Where there is logic and facts that can be rationally argued, found and agreed there is law. This then forms common law - legal history that sets precedence.
How can law be enacted without the state. Have you no imagination?
The are infinite ways and the good useful ways will swiftly so be found too.