Skip to content

console.log fixes updating state #183

Open
@hypo-thesis

Description

@hypo-thesis

"@risingstack/react-easy-state": "^6.3.0",
node v14.0.0 /
opera Version:68.0.3618.104
"@risingstack/react-easy-state": "^6.3.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"framer-motion": "^1.10.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"

Describe the bug
A simple console.log() fixes some issues in my application.
reproducing this and in App.js line 18 by removing console.log('showRes' , store.showRes , store.rndNum) next time the game is played the button doesn't update the state anymore and remains on the page.


For tougher bugs

To Reproduce
https://github.com/hypo-thesis/rpc

Expected behavior
I expect the state management to work without console.log


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions