Skip to content

Conversation

@wibed
Copy link

@wibed wibed commented Aug 28, 2021

apply changes discussed in #2
modified smartButton to conform to the rules of hooks

id like to add dynamic loading to _app.js but am unsure how to approach it properly, i tried somewhat similar to
https://github.com/module-federation/module-federation-examples/tree/master/dynamic-system-host

as suggested in the issue.

apply changes discussed in telenko#2
modified smartButton to conform to the rules of hooks

const SmartButton = () => {
return <Button>
return <div>

Choose a reason for hiding this comment

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

Why change this to a div? Should this be just plain html button?

If we are removing the @material-ui dep should that be removed from the package.json?

</Head>
<Component {...pageProps} />
</>
<div>
Copy link

@vandercloak vandercloak Feb 12, 2022

Choose a reason for hiding this comment

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

Doesn't this break the nextjs functionality? Might just be better to remove the head + still use http://localhost:3000/testing

Or just remove the _app.js altogether.

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.

2 participants