Lucifier129 / react-lite

An implementation of React v15.x that optimizes for small script size
MIT License
1.73k stars 98 forks source link

DOM nodes don't have focus #47

Closed himalayafan closed 8 years ago

himalayafan commented 8 years ago

React have a feture to keep track on DOM nodes, and keep them in focus during update. You don't have this.

document.activeElement;

Any plans to copy React on this one?

Lucifier129 commented 8 years ago

NO

ghost commented 8 years ago

So you will get a lot of complains here. This is a major feature that all libs have. So if this is lacking, I would suggest everyone to stay away from this garbage lib anyway.

fightingcat commented 8 years ago

Can't stand such a garbage like you before read your suggestion! I've noticed these disscussion you started before, the author have showed patience and will embrace any positive contributions. Why do you just want to ruin something? RUIN YOURSELF!

Dafrok commented 8 years ago
ghost.dislike(reactLite).then(() => {
  if (keepAwayFromHere(ghost)) {
    all.welcome(ghost)
  } else {
   ghost.pullRequest(pr).then(() => {
    isFine(pr) ? (merge(pr), all.welcome(ghost)) : close(pr)
   ghost.issue(content).then(() => {
    isGarbage(content) ? (all.dislike(ghost), garbages.push(ghost), ruin(garbages)) : all.welcome(ghost)
  })
  }
})
Lucifier129 commented 8 years ago

@Dafrok Excellent code!!