Designed synthesis of WC-based nanocomposites as low-cost, efficient and stable electrocatalysts for the hydrogen evolution reaction