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

Elixir: refactor: Create context, refactor to simplify logic #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshchernoff
Copy link

Food for thought,

  • Created context since we like to separate our biz logic from our web logic
  • condensed assigns to simplify is loaded
  • Ecto.Multi for better repo transactions
  • Off loaded math on to postgres for ranks
  • Made components for dryer Heex UI
  • Drop unnecessary cache for images given I believe github gives a cached head? (could be wrong, but figured it does not do much really)
  • Drop loading logic since its fast enough you never see it.

Question:
what do you think will happen if your server crashes or you deploy while someone is using the site?

  • hint, that random will ensure it won't be what you expect.

Copy link

vercel bot commented Nov 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
1app5stacks--go-graphql-spa-version ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 6:38am

Copy link

vercel bot commented Nov 18, 2024

@joshchernoff is attempting to deploy a commit to the Theo's projects Team on Vercel.

A member of the Team first needs to authorize it.

@joshchernoff joshchernoff changed the title refactor: Create context, refactor to simplify logic Elixir: refactor: Create context, refactor to simplify logic Nov 18, 2024
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.

1 participant