Skip to content

Misc. Fixes - #31

Open
charlot-shaw wants to merge 2 commits into
fulcrologic:mainfrom
charlot-shaw:misc-amendments
Open

Misc. Fixes#31
charlot-shaw wants to merge 2 commits into
fulcrologic:mainfrom
charlot-shaw:misc-amendments

Conversation

@charlot-shaw

Copy link
Copy Markdown

Trying out the template and making changes that seem like obvious issues.
Thank you for putting this framework together!

Matches function definition, and
other functions defined in the
same file.
Comment thread src/main/app/ui/root.cljs
:ident (fn [] session/signup-ident)
:route-segment ["signup"]
:componentDidMount (fn [this]
(comp/transact! this [(session/clear-signup-form)]))}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically mutations are NOT multi-arity. They are arity 1. Explicit single arg is preferable. In CLJ headless testing using the mutation this way will probably throw. js doesn't care about arity, so it works in CLJS but I don't want to encourage the habit.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, and it's those little details between the platforms that can be very frustrating.
The dummy argument should hopefully improve things.

@charlot-shaw
charlot-shaw marked this pull request as ready for review March 2, 2026 04:17
@charlot-shaw

Copy link
Copy Markdown
Author

Marking this as ready, as life commitments have pulled me elsewhere and I don't think I'll be getting back for a while.

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.

2 participants