-
Notifications
You must be signed in to change notification settings - Fork 47
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
**Breaking:** Fix operational context #921
Conversation
6941e07
to
9047510
Compare
9047510
to
427439d
Compare
@@ -0,0 +1,23 @@ | |||
import { useEffect, useState } from "react" | |||
|
|||
const useWindowSize = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have readme and tests for this hook
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add them.
|
||
export { Context, WindowSize, IMessage, MessageType, useOperationalContext } | ||
export default Consumer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should still export the types?
@@ -0,0 +1,23 @@ | |||
import { useEffect, useState } from "react" | |||
|
|||
const useWindowSize = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOOKS GREAT
Summary
Related issue
To be tested
Me
localhost:6060
Tester 1
Tester 2