@Fyonice,
I have built almost every bed in 2 houses. I started using "knock down" hardware and stopped after 2 beds. No matter how heavy duty, the bed will
rack. I now use 2 techniques which are almost as easy as knock down hardware but offer a much, much more rigid frame. Both use bolts through
the vertical posts to cross dowels in the bed rails. One technique hides the bolt head and the other uses a bronze finished bolt head that is exposed but
looks nice. These beds never rack, never creak and could stand up to kids jumping on them or other nighttime activity.
The bed rails also have stub tenons that fit into shallow mortises in the vertical bed posts. This makes assembly easier and adds to the rigidit