Deletion, mutagenesis, and replacement assays confirmed that the formation of YAP condensates plays a critical role in the development of cellular myelocytomatosis oncogene (c-Myc)-induced hepatocellular carcinoma, myristoylated AKT (myr-AKT)-induced intrahepatic cholangiocarcinoma, and amino-terminal missing first 90 amino acids of catenin beta 1 (ΔN90-CTNNB1)-induced hepatoblastoma. This evidence concerns the gene CTNNB1 and intrahepatic cholangiocarcinoma.