Skip to content

Conversation

@MichaelDeBoey
Copy link
Contributor

Follow-up of #2638

Things I did extra:

  • Change previewActionReceived's signature to accept any instead of { action: any }, because it only has 1 argument
  • Use FunctionComponent instead of React.FC, since it's the same, but FunctionComponent is a bit clearer I think
  • use ServerContainerStatus enum instead of string values

@lbogdan
Copy link
Contributor

lbogdan commented Jan 7, 2020

Build for latest commit a635b65 is at https://pr3284.build.csb.dev/s/new.

Copy link
Contributor

@christianalfoni christianalfoni left a comment

Choose a reason for hiding this comment

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

Great stuff! Looks good! :)

Tested:

  • Fire up container sandbox
  • Triggered different states of the container

Compared to what happens in production and looks good!

@christianalfoni christianalfoni merged commit b807721 into codesandbox:master Jan 9, 2020
@MichaelDeBoey MichaelDeBoey deleted the overmind/Preview branch January 9, 2020 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants