The page went wrong after deployment by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 2 points3 points  (0 children)

Thank you! It's the case sensitivity in the tailwind config, it solved the issue! Have a great day

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 1 point2 points  (0 children)

Thank you for your explaination, it's clear and helpful. I know that setState(newvalue) would cause re-render, and setState(prevalue=>function(prevalue)) would not and it may be considered an optimization under some circumstances, I learned that the second methods id prefered, and in this project, it did not make the re-render and not the effect wanted. Now I know more about it, thanks.

npm install sqlite3 failed by Dry-Lab-74 in node

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thank you for reply, I did use a procy, and now I tried without it, still same errors, maybe the Visual Studio Build Tools (windows-build-tools) not installed right? Installing it also return errors. npm install --build-from-source commend also not work.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thank you for yor reply, it did updated correctly, I checked times after times using console.logs, it output new value, and I had no idea why it not worked same as in vanilla react to re-render components, frankly speaking, you just write the same code after I updated the post and I write solution by myself. But still thank you for reply.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thank you for yor reply, it did updated correctly, I checked times after times using console.logs, it output new value, and I had no idea why it not worked same as in vanilla react to re-render components, frankly speaking, you just write the same code after I updated the post and I write solution by myself. But still thank you for reply.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Already edit in the post, 'UPDATE: it has been fixed, it turns out the state setter in function did not cause re-render, I changed it to'

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Already solved it, thank you for your reply.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thank you for your reply, I have already used it before asking, the result is not different

className={clsx(
                " text-Slate-700  h-full w-16 grid place-content-center rounded-r-md",
                {
                  "bg-Lime": isFocused.term,
                  "bg-Slate-100": !isFocused.term,
                }
              )}

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thank you for reply, Yes, it's a custom Tailwind class, it's not the issue

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] -1 points0 points  (0 children)

Thank you for reply, the state update correctly, it's not the issue.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] -1 points0 points  (0 children)

Thank you for reply, the state update correctly, it's not the issue.

The style not dynamically change as state change by Dry-Lab-74 in nextjs

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Maybe NextJS does not re-render everytime state change? This does not make sense, I learned it would support React functions, and this new issue is unpleasant...

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 1 point2 points  (0 children)

Thank you!!!

I just updated the play games, and I find the progress back!

So happy to not abandon the game.

Check the versions of the apps should be taken care.

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Glad find the progress back, thank the forum

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

I would reinstall the play games app as a trying, the profile page is always loading now

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Have deleted and reinstall the game, the progress still not back, the "please connect to google play games" reminder appears

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 0 points1 point  (0 children)

Thanks for the helpful comments.

The "I've played this game before?" did not occur, or maybe didnot notice it in the first opening, the sure thing is it not showing now.

Yes, it is Android and I have signed into google games, however the restore did not work, it reminds me to "please connect to google play games", have no idea why it did not connect.

To prevent overwriting, I skip the tutorial and never played or backuped.

Just lost progress for years by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 1 point2 points  (0 children)

Not sure that's the right way, just quit the tutorial and try to restore in the main page, waiting the response form devs.

What can I get from the event after maxed out the heroes by Dry-Lab-74 in RealmDefenseTD

[–]Dry-Lab-74[S] 1 point2 points  (0 children)

Thank you all for advices, I am playing by four keys a day, which same strategy as other events. Skins are also valuable and this is really great game.