You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it is not memoized, a random value should be displayed each time it is updated.
CleanShot.2024-10-27.at.21.41.45.mp4
What do you see instead?
The value is not updated.
CleanShot.2024-10-27.at.21.43.20.mp4
Additional information
This bug is due to the fact that the fix was applied incorrectly when checking the behavior of the React Compiler. In order to be memoized by the React Compiler, a different approach is needed to handle memoization. #3049
The text was updated successfully, but these errors were encountered:
Fixeshonojs#3473Fixeshonojs#3567
* fix(jsx/dom): fix memoization mechanism in dom renderer
* fix(jsx/dom): fix `memo` for DOM renderer
* feat(jsx/dom): implement light weight `memo` function for DOM renderer
* test(jsx/dom): add tests for memoization
What version of Hono are you using?
v4.6.7
What runtime/platform is your app running on?
Any environment.
What steps can reproduce the bug?
Rrender the following app.
What is the expected behavior?
Since it is not memoized, a random value should be displayed each time it is updated.
CleanShot.2024-10-27.at.21.41.45.mp4
What do you see instead?
The value is not updated.
CleanShot.2024-10-27.at.21.43.20.mp4
Additional information
This bug is due to the fact that the fix was applied incorrectly when checking the behavior of the React Compiler. In order to be memoized by the React Compiler, a different approach is needed to handle memoization.
#3049
The text was updated successfully, but these errors were encountered: