etn-ccis / blui-react-workflows

Re-usable Brightlayer UI workflows for React applications
9 stars 8 forks source link

React Router Future Flag Warning: React Router will begin wrapping state updates #663

Open JeffGreiner-eaton opened 3 weeks ago

JeffGreiner-eaton commented 3 weeks ago

Describe the bug / expected behavior

This is not a bug but change needed in the future. While viewing the okta login page via blc-admin-app repo, notice this future flag warning.

image

See flags info here on change https://reactrouter.com/en/6.27.0/upgrading/future#v7_starttransition

What are the steps to reproduce?

  1. Go to...
  2. Click on...

Screenshots / Screen recording

Code snippet / Link to minimum reproduction example

CODE HERE

Your environment information

Suggested fix

Anything else to add?

joebochill commented 3 weeks ago

Is this just an issue for the example project? The workflow itself does not depend on React Router.

JeffGreiner-eaton commented 3 weeks ago

Is this just an issue for the example project? The workflow itself does not depend on React Router.

from what I see, it seems to be from react-router-dom in example.