Skip to content

Conversation

@jeetiss
Copy link
Contributor

@jeetiss jeetiss commented Nov 4, 2019

Hello 🙌🏻

use-constant is better then use-memo and use-state, when created object is CONSTANT, because use-constant don't have cache invalidation and state change logic, just saves value in ref

fix #51

Andarist/use-constant#3
Andarist/use-constant#4

@jeetiss
Copy link
Contributor Author

jeetiss commented Nov 4, 2019

I don't know why test-coverage script fails, can you help me with this?

@jeetiss
Copy link
Contributor Author

jeetiss commented Nov 6, 2019

@Brooooooklyn, help me!

@Brooooooklyn Brooooooklyn merged commit 6191786 into LeetCode-OpenSource:master Nov 6, 2019
@jeetiss jeetiss deleted the use-constant branch November 6, 2019 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants