Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Expected Static Flag Was Missing #29914

Closed
alexkahndev opened this issue Jun 16, 2024 · 2 comments
Closed

Bug: Expected Static Flag Was Missing #29914

alexkahndev opened this issue Jun 16, 2024 · 2 comments
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@alexkahndev
Copy link

I have a Server Side Rendered React app I'm using Bun to run. Something about the state of my form is causing a static flag was missing error. I dont notice any problems in my application as of now. I am writing this since it says please notify the React team in the error log

GamePageIndex.1718554801619.js:227  Warning: Internal React error: Expected static flag was missing. Please notify the React team.
    at HP (http://localhost:3000/indexes/GamePageIndex.1718554801619.js:349:29726)
    at div
    at CP (http://localhost:3000/indexes/GamePageIndex.1718554801619.js:349:31993)
    at div
    at main
    at body
    at html
    at LP (http://localhost:3000/indexes/GamePageIndex.1718554801619.js:349:32856)

and in the index file the error points to this (bundled) code

console.error = function() {
    const c = [...arguments].join("");
    if ((c == null ? void 0 : c.startsWith("Warning:")) && c.includes("useContext")) {
        console.error = lI;
        return
    }
    return lI.apply(this, arguments) // Error on this line
}
;

React version: 18.3.1

Steps To Reproduce

  1. Build a TSX component that contains the html tag as the outermost tag and then in the body create a form tag that uses react useState to control changes
  2. Server Side render these pages using Bun and Elysia
  3. I dont know how to reproduce the bug further than this it just appeared in the midst of me coding with no real information on it hence i think it might just be a regression

Link to code example:

I can not provide an example at this time only reporting because it says to in the error log so i figured you would like to know

The current behavior

The expected behavior

@alexkahndev alexkahndev added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Jun 16, 2024
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Sep 14, 2024
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant