The Nets had not allowed a 40-point scorer all season, until Thursday.
Curry lit up a Barclays Center crowd that was filled with blue and gold No. 30 jerseys.
Despite leading 35-15 after the first quarter, the Warriors outscored Brooklyn 40-25 in the second to climb back into it. Curry capped the first half surge by sinking a half court buzzer beater.
The Warriors nearly gave the game up in the end with lackluster plays and turnovers but ultimately survived the Nets late-game charge.
Cam Johnson led the Nets with 26 and Cam Thomas 23 in the losing effort.