DormSoup / dormsoup

MIT License
2 stars 0 forks source link

Add subscribe button #1

Closed lad6558 closed 1 year ago

lad6558 commented 1 year ago

Summary

Frontend & Database Update to Allow User Subscription to "DormScoop"

Questions

image image
ma-chengyuan commented 1 year ago

For random loading tips, have you checked https://nextjs.org/docs/messages/react-hydration-error? We can probably disable SSR on <Loading/> or use useEffect to apply the randomness.

For getting the subscription status, the current hacky way looks good to me. Have you considered setting some placeholder text on the button (e.g. "loading subscription status") instead of hiding it?

Everything else lgtm.