Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TaraTritt
Copy link
Contributor

@TaraTritt TaraTritt commented May 13, 2019

Copy link

@wpwood wpwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

⚜️

return <h1>Hello, {props.name}</h1>;
}
name = 'testName'
const WithUALComponent = withUAL(component)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personal preference, but I'd just call that WrappedComponent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


import { UALContainer } from './UALContainer'
import { withUAL } from '../provider/UALContext'
import { withUAL } from '../provider/withUAL'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To stay consistent, should this be '../provider/WithUAL'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in this case since its only export is withUAL, which is not a class, I want to keep this file lowercase withUAL to match

@TaraTritt TaraTritt merged commit bb1e7cf into develop May 14, 2019
@TaraTritt TaraTritt deleted the withual-prop-fix branch May 14, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants