#Components flicker during first loading for Next JS

40 messages · Page 1 of 1 (latest)

frigid hamlet
frigid hamlet
#

Thanks.
This is general Box component. All components have a same issue.

vast sundial
frigid hamlet
#

No. I used Mantine UI

vast sundial
#

is it a client component?

frigid hamlet
#

Yes.

vast sundial
#

maybe thats why :/

frigid hamlet
#

so other ways?

vast sundial
#

use tailwind?

frigid hamlet
#

🥹

vast sundial
#

its just a header...

#

the problem is that your Box uses themes

#

im not quite sure, for making it seamingless

#

how do i navigate to your pricing btw, nice website

frigid hamlet
#

Here is a Code.

vast sundial
#

yes how do you navigate from / to /pricing ? i cant find button

frigid hamlet
#

I used the router method.

#

Originally, I should use Link component to switch pages.

#

But it's same.

#

There are many posting on Net But I not success to follow them.

vast sundial
#

I can't find the button to switch from / to /pricing .. i can't check the problem if you cant show me how to navigate...

frigid hamlet
#

<Text
sx={(theme) => ({
fontWeight: 600,
cursor: 'pointer'

                                        })}
                                        onClick={()=>{router.push('/account')}}
                                    >
                                        Account
                                    </Text>
vast sundial
#

no i mean

#

where do I click to go to /pricing....

frigid hamlet
#

Sorry. First, you have to create account with eamil and github.

#

If you create account, you can see account button and can go pricing page.

#

🥺

vast sundial
#

oh its ok

vast sundial
#

so can you just show me your Route structure and the location of Header file

frigid hamlet
vast sundial
#

uhh the folder structure

#

i dont know if its code specific yet

frigid hamlet
#

folder structure?

#

It isn't related nothing with folder.

vast sundial
#

sorry i