Skip to content

Conversation

@AndrewMusgrave
Copy link
Member

@AndrewMusgrave AndrewMusgrave commented Sep 12, 2019

WHY are these changes introduced?

Convert examples to hooks

WHAT is this pull request doing?

Converting AccountConnect, ActionList and AppProvider class-based examples to hooks

STILL TO DO

I'm making quite a few pr's converting examples to hooks so I anticipate lots of unreleased.md conflicts, so I'll add the entry before I merge.

- Converted `AccountConnection`, `ActionList`, and `AppProvider` examples to functional components ([#2126](https://github.com/Shopify/polaris-react/pull/2126))

How to 🎩

Make sure the behavior of the example mirrors the style guide

🎩 checklist

Copy link
Member

@BPScott BPScott left a comment

Choose a reason for hiding this comment

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

All looking pretty good.

One suggestion regarding an optimization of toggles, which I get the feeling will crop up a lot.

@AndrewMusgrave AndrewMusgrave merged commit a362e57 into master Sep 25, 2019
@AndrewMusgrave AndrewMusgrave deleted the hookify-examples-1 branch September 25, 2019 16:34
@dleroux dleroux temporarily deployed to production October 3, 2019 13:16 Inactive
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.

3 participants