noflux
  • Noflux
  • Choose a language
  • Noflux
    • migration
      • Migration from noflux to v0.x
      • from-v0-to-v1
      • Migration
    • advanced
      • @connect
      • API
      • state
    • Summary
    • basic
      • React
      • Basic
      • state
    • getting-started
  • Noflux
    • Summary
    • advanced
      • state
      • @connect
      • API
    • basic
      • React
      • 基础
      • state
    • migration
      • from-v0-to-v1
      • Migration
      • 从noflux到v0.x
    • getting-started
  • examples
    • README
    • Noflux TodoMVC Example Using TypeScript
Powered by GitBook
On this page
  • Migration from v0.x to v1.x
  • Breaking changes
  • API
  • Event
  • Non-breaking changes
  • Component Support

Was this helpful?

  1. Noflux
  2. migration

from-v0-to-v1

PreviousMigration from noflux to v0.xNextMigration

Last updated 4 years ago

Was this helpful?

Migration from v0.x to v1.x

After a long testing period in several production websites the Noflux project became stable and bugless and it is time to release the v1.x !

The aim of Noflux v1.x is providing a stable, reliable and pure state management library and keep it simple, stupid.

It's very easy to upgrade Noflux v1 if you are using v0.x because few changes are introduced.

Breaking changes

API

Many APIs are removed in v1.x, including:

  • state.load

  • @pure

  • @Connect

Event

The change event was removed and please use set instead.

Non-breaking changes

Component Support

@connect now support all React component types now:

  • Component

  • PureComponent

  • Stateless Component

deprecated