Coder Social home page Coder Social logo

React warnings about unredux HOT 4 CLOSED

ivan-kleshnin avatar ivan-kleshnin commented on June 16, 2024
React warnings

from unredux.

Comments (4)

scabbiaza avatar scabbiaza commented on June 16, 2024
  1. Ongoing discussion -- facebook/react#1118

  2. React Tools warning

After some research found the same solution.
This is funny:
facebook/react#3877 (comment)

  1. Also, this can be useful, new feature in React 16.1.0
    Add a new suppressHydrationWarning attribute for intentional client/server text mismatches.

screen shot 2017-11-29 at 19 58 47

from unredux.

ivan-kleshnin avatar ivan-kleshnin commented on June 16, 2024

When you're starting to add attributes like suppressHydrationWarning – it's a bad sign. Warnings should be 100% relevant or they should be removed.

from unredux.

scabbiaza avatar scabbiaza commented on June 16, 2024

Update about the warning
warning.js:33 Warning: Expected server HTML to contain a matching <div> in <div>.

Without SSR we should not use hydrate method, or this warning will be shown

from unredux.

ivan-kleshnin avatar ivan-kleshnin commented on June 16, 2024

Done, as much as it's possible right now.

from unredux.

Related Issues (19)

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.