website icon indicating copy to clipboard operation
website copied to clipboard

document how to migrate from react

Open yoshuawuyts opened this issue 7 years ago • 2 comments

WIP

  • [ ] diffing model
  • [ ] forms / controlled-components
  • [ ] more words on jsx vs choo templates
  • [ ] redux vs event emitter
  • [ ] debug tooling
  • [ ] history API

yoshuawuyts avatar Jan 11 '18 18:01 yoshuawuyts

Well done! A React user could get up and going in 5 minutes from that. As a React user, I have a few follow-ups that still aren't clear.

Components have been a bit of a blocker so far for me, although I've been struggling a bit with nanocomponent. Although this sounds like it's still a WIP so maybe that needs to be sorted out.

The next is that I don't understand the difference in the diffing model that React and choo use. This has led to many bugs and confusing moments for me.

Finally forms, are mysterious to me. React has the concept of controlled components for forms, and I haven't seen a mapping of this concept. I've also had choo obliterate the contents of my forms while diffing.

gregtatum avatar Jan 11 '18 18:01 gregtatum

@gregtatum sick! - will do!

yoshuawuyts avatar Jan 11 '18 20:01 yoshuawuyts