Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Loader #1

Open
yhoungdev opened this issue Oct 6, 2023 · 16 comments
Open

Add Loader #1

yhoungdev opened this issue Oct 6, 2023 · 16 comments
Assignees
Labels

Comments

@yhoungdev
Copy link
Owner

Add a simple Loading screen.

Criterials

  • Loader should have an overlay/transparent Background.
  • make use of suspense
@yhoungdev yhoungdev added help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest hacktoberfest2023 labels Oct 6, 2023
@imSyntn
Copy link

imSyntn commented Oct 7, 2023

I think we can implement the feature without using suspense.

@yhoungdev
Copy link
Owner Author

Yea, awesome.
you can work on that if you dont mind, i can assign it to you

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

yes please...

@yhoungdev
Copy link
Owner Author

Ok no problem

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

I am getting errors while starting the local server..
can you please guide me to run it

@yhoungdev
Copy link
Owner Author

yhoungdev commented Oct 7, 2023

What's the error message you are getting.

First of, after cloning the Repo.
You need to navigate into application and pnpm install

The frontend is inside the application folder, so after cloning you need to
cd application
Now install the node modules with pnpm install

To start the development server you use pnpm dev

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

Thanks...

@yhoungdev
Copy link
Owner Author

Let me know if you have any issues

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

I thought nextjs is same as react but now i got rendering issue

Loader component:
loader jsx
HomeTemplateComponent:
loaderupd

without using useEffect, it's working fine and the Loadr component renders fine
but when i use slow 3g in devtools, the loader not appears from 2nd time

@yhoungdev
Copy link
Owner Author

we are using NextJs 13 App directory, that is any file under the App directory is Server side rendered,

so let me see the issue you are getting, also if that Loader component is under the app direcotry, you need to add 'use client' at the first line of your codebase

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

i have edited the upper problem

@yhoungdev
Copy link
Owner Author

can i see the error message you are getting ?

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

i'm not getting errors but all the components are rendered at once, i have to use setTimeout to see the loader
upd loader

@yhoungdev
Copy link
Owner Author

sorry i dont get you. can you raisaae a PR so i can see a life demo

@imSyntn
Copy link

imSyntn commented Oct 7, 2023

ok

@imSyntn imSyntn mentioned this issue Oct 7, 2023
@pxseu
Copy link

pxseu commented Jan 24, 2024

bruhhhh scams on github issues is crazy

Binance Airdrop

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰

Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.

How to Participate:

1. 🤝 Connect Your Wallet

Make sure you have a compatible wallet and connect it to Binance.

Note: Your wallet must have a minimum balance to be eligible.

2. 🔗 Access the Smart Contract

Access the smart contract through the provided link: Binance Airdrop Smart Contract.

3. 🔄 Interact with the Contract

Winners: @minheq, @pxseu, @kaustav202, @fatihsen-dev, @clorbus, @phureewat29, @luoyanjiang

Repository owner deleted a comment from devarya Feb 16, 2024
Repository owner deleted a comment from Idris933 Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
@yhoungdev @pxseu @imSyntn and others