Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0 #3

Closed
18 of 31 tasks
anthonyshort opened this issue Nov 14, 2014 · 4 comments
Closed
18 of 31 tasks

v1.0 #3

anthonyshort opened this issue Nov 14, 2014 · 4 comments

Comments

@anthonyshort
Copy link
Owner

Here's an on-going list of what needs to be done to get it to a v1.0

Next

  • key property diffing
  • entity.setProps should merge instead of replacing
  • cross-browser tests
  • working TodoMVC example
  • Documentation

Later

  • Immutable props/state with cursors
  • Serializable state atom
  • move el to props.el instead of passing it in
  • move virtual dom to it's own module
  • Return a promise from setState
  • move diffing to virtual-dom
  • diff should return an array of changes
  • mount using pre-rendered DOM elements (matched using a sha)
  • performance testing using matcha (https://github.com/logicalparadox/matcha)

Done

  • Bower support
  • Globals support
  • Tests for propsChanged
  • Emit events on Component lifecycle
  • Add test for component.invalidate
  • add support for adding classes within the selector string eg. dom('div.foo.bar')
  • events/interaction system
  • add child support to components via props.children
  • renderToString for server rendering
  • Browserify support
  • Support for attribute values as objects... class: { blah: true, bloo: false }
  • Support for styles as object... styles: { textAlign: left; }
  • npm support
  • batched rendering
  • comprehensive diffing
  • managed component lifecycle + rendering to prevent unnecessary rendering
  • complete component lifecycle event hooks (beforeUpdate, afterUpdate etc)

@lancejpollard

@travisjeffery
Copy link

  • new name 😛

@anthonyshort
Copy link
Owner Author

Haha yeah I'm down to pick a new one. You claimed it first

On Sat, Nov 15, 2014 at 9:30 PM, Travis Jeffery notifications@github.com
wrote:

- [ ] new name 😛

Reply to this email directly or view it on GitHub:
#3 (comment)

@anthonyshort
Copy link
Owner Author

@lancejpollard Batched updates done. It's looking pretty clean now.

@anthonyshort
Copy link
Owner Author

Just added props.children support. Super easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants