1.7.5 • Published 3 years ago

anujs v1.7.5

Weekly downloads
237
License
Apache-2.0
Repository
github
Last release
3 years ago

anujs

GitHub license npm version Build Status PRs Welcome

npm install anujs

A mini React-like framework that is extremely compatible with React17。

size

source: https://bundlephobia.com/

advantage:

  1. Support various new features of React17, Fragment, componentDidCatch, creactContext, createRef, forwardRef...
  2. The size is very small (only 3000 lines, gzip only 13kb, one third of React+ReactDOM)
  3. Pass more than 700 official unit tests (other mini libraries can not run the official test)
  4. Share the huge ecology of React(React-router-dom, react-router-redux, react-lazy-load, react-hot-loader...)
  5. Supports 99% antd components (antdis an enterprise-class UI components in China).
  6. Excellent browser compatibility, easy to handle all kinds of business under IE6-8.
  7. It comes with a painless state manager Rematch and a handy router Reach.

nanachi

nanachi已经交回原公司 qunar.com 维护了,不放在此仓库 ,详见 https://qunarcorp.github.io/anu

boilerplate

License

MIT

webpack config

resolve: {
    alias: {
       'react': 'anujs',
       'react-dom': 'anujs',
         // For compatibility with IE please use the following configuration
         // 'react': 'anujs/dist/ReactIE',
         // 'react-dom': 'anujs/dist/ReactIE',
         // 'redux': 'anujs/lib/ReduxIE', /// This is mainly for IE6-8, because of the poor performance of the isPlainObject method in the official source code.
         // If you reference prop-types or create-react-class
         // Need to add the following alias
         'prop-types': 'anujs/lib/ReactPropTypes',
         'create-react-class': 'anujs/lib/createClass',
         // If you use the onTouchTap event on the mobile side
         'react-tap-event-plugin': 'anujs/lib/injectTapEventPlugin',
    }
},

Testing

npm test
1.7.5

3 years ago

1.7.4

4 years ago

1.7.3

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.6.6

4 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.0

5 years ago

1.5.9

5 years ago

1.5.8

5 years ago

1.5.7

5 years ago

1.5.6

5 years ago

1.5.5

5 years ago

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.9

5 years ago

1.4.8

6 years ago

1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago