Code Monkey home page Code Monkey logo

Comments (8)

Neon0404 avatar Neon0404 commented on May 10, 2024 2

Any updates on this issue?
React 18 was released a year ago πŸ‘€

from rlayers.

mmomtchev avatar mmomtchev commented on May 10, 2024 1

This warning has no effect, but the one from #112 does.

Do not use dynamic inline styles if you get it - everything that can be expressed with a dynamic inline style, can also be expressed with a traditional Openlayers style function.

from rlayers.

mmomtchev avatar mmomtchev commented on May 10, 2024

https://stackoverflow.com/questions/71720001/clean-way-for-a-component-to-support-both-react-17-and-react-18

I am still looking for a way to support both React 17 and React 18 style rendering in a proper manner.

Until then, the warning should be ignored as it has no real functional consequence - it does not apply to the rendering of the DOM, only to the off-screen rendering of the dynamic styles - your application will still use React 18 rendering.

from rlayers.

BaltimoreBirds avatar BaltimoreBirds commented on May 10, 2024

Any updates on this issue?

from rlayers.

mmomtchev avatar mmomtchev commented on May 10, 2024

There is no other solution besides dropping support for React 17 and earlier, will probably happen at the next major version

from rlayers.

BaltimoreBirds avatar BaltimoreBirds commented on May 10, 2024

There is no other solution besides dropping support for React 17 and earlier, will probably happen at the next major version

Okay, thanks for the update!

from rlayers.

brown-m avatar brown-m commented on May 10, 2024

Hi @mmomtchev, do you foresee this having any impact within a nextjs 13 environment with its heavy reliance on react 18 voodoo?

from rlayers.

mmomtchev avatar mmomtchev commented on May 10, 2024

I do not plan to drop support for React 16/17 only to remove a console.warning when using a relatively obscure feature

from rlayers.

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.