You will almost always find me agreeing that homemade is best, from arts and crafts, cooking, gardening, baking, no boxed foods are at my house. However, one of the things that is better not homemade is diaper detergent.
Now, I come from a chemistry background, and I have seen some nasty things happen with common household ingredients...Like, did you know using bleach to clean up animal urine releases Chlorine gas?! Serious! Use bleach only after you remove the urine to disinfect the area! I could show you the chemistry, but you would be asleep on your computer/smartphone.

Ingredients that I have heard of commonly being used in homemade detergents are things like:Bar soap, Fels Naptha Soap, Liquid Castle Soap, Borax, Oxygen Bleach, Vinegar, and Soda. Yes, while these are all natural ingredients some of them are contraindicated for the products you may be washing.
Soap-like the ones listed above can ruin your PUL, which will make your waterproof covers, not so waterproof anymore. Soaps can also coat your diapers which will cause repelling issues which can be hard to strip out, do not use these on your diapers.
Borax-Na2B4O7(OH)4.8H2O AKA sodium decaborate tetrahydrate (sleeping yet?). Borax can destroy your elastic and Hook and Loop. If you really want to use this use on things like inserts or prefolds, even then I'd be a little worried.
Oygenated Bleach-The active ingredient is sodium percarbonate. There are many store bought detergents that contain this now too, so read your labels carefully. While this is not all that harmful to your inserts, it like Borax will eat away at your components like elastic and H&L. Use sparingly. I use an oxygenated bleach product a few times a year only on inserts when I need a super deep cleaning and don't have time to strip at that moment. Make sure you wash it out well with plenty of water to keep it away from baby's skin.
Vinegar-Now, I don't want to make any enemies here, because I know many of you LOVE your vinegar. Vinegar is an acid and will eat away at your components like Borax and Oxygen Bleach. Avoid at all costs using on anything with PUL, elastic and H&L.
Soda alone works great. We recommend it in stripping your diapers but just be careful and use it sparingly because it is so alkaline it can cause similar damage to an acidic wash. Don't use this every wash, it will eat away at your diapers.
What I say, save your homemade detergent for your regular laundry and invest in a detergent for your diapers so you know they are safe in the wash.
Remember: Liquid detergents are easier on diapering products, and avoid anything with softeners.
Our favorites here at SoftBums are:
Purex free and clear and
Rockin' Green