Migrate from Flux v1 to v2
How to migrate from Flux v1 to v2.