the supremacy clause in the United States Constitution says that in the case of a conflict between federal and state law, federal laws will take precedence.
I've seen in many cases that this is not true. for example, in many states, guns are more regulated for that state than the 1981 revised gun control act would specify. even though many states cover the same ground as federal law, state law takes precedent in this situation. I've seen that folks say that this is because gun laws are stricter than federal regulation, but there are laws that are more relaxed than federal laws which get upheld as well.
take marijuana laws for example. federally, marijuana is still a criminal substance, but many states have passed legislation nearly directly nullifying the federal drug scheduling laws. if this isn't enough for you, let's talk about computer "hacking" laws. federally the computer fraud and abuse act has been the law since the 80s, but various court cases and rulings have reduced the act to something only enforceable through the commerce clause, with state laws (if any) taking precedence in such instances.
the supremacy clause to me is a bit of an enigma, as there are quite a few instances of courts favoring state law over federal law, and for completely different reasons in many cases. what power and consistency does the supremacy clause hold in the modern day legal system?