Giter Club home page Giter Club logo

Comments (1)

gaearon avatar gaearon commented on May 5, 2024

React

  • Context used to be very flaky (will mostly be solved in 0.14)
  • Duplicate Reacts don't work together (should be much better in 0.15 where react-dom is truly separate thing, and many reacts can coexist)
  • Weird error messages when DOM is invalid, e.g. nested links (will be solved in 0.14)
  • It's currently hard to write universal components against React and React Native (will be solved soon after 0.14)
  • Focus management is imperative, so it forces us back into DOM land
  • Higher-order components are sometimes a pain because people keep wanting to have refs or fire methods and you can't teach them to stop doing that because they have valid reasons (e.g. see focus management)

I can't think of anything else much. I'm pretty satisfied with React, and while there are frameworks like Cycle that hate on setState(), you can adapt Cycle's patterns to React just fine if they indeed prove better.

Redux

  • It doesn't solve data fetching like Relay
  • Functional API and extensive use of higher-order functions turns off beginners
  • It's not "purely functional" like Cycle either—feels like I'm doing something dirty
  • I'm not very satisfied with putting async API calls and the middleware system, but it's still the best we could come up with

These are conscious fundamental limitations by design and scope, of course. If I could fix them, I would have already.

from ama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.