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

Added Front end with Routing Example #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sittim
Copy link
Contributor

@sittim sittim commented Mar 5, 2022

Add an example.

(defsc People [_this {:keys [people] :as _props}]
{:ident (fn [] [:component/id ::People])
:query [{:people (comp/get-query Person)}]
:route-segment ["people"]
Copy link
Contributor

Choose a reason for hiding this comment

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

could be confusing having a route-segment when there is no router?

:person/city "London"
:person/state "England"}
:append [:root :people]))
```
Copy link
Contributor

Choose a reason for hiding this comment

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

missing closing ====

:toclevels: 2
:description: Examples of Simple Use cases

Author: https://holyjak.cz/[Jakub Holý] & contributors
Copy link
Contributor

Choose a reason for hiding this comment

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

I have not written these :) Either add your name or just drop tje line.

@holyjak
Copy link
Contributor

holyjak commented Mar 15, 2022

Could you please add a description to the index.adoc explaining why it exists and thus what can readers gain from studying it?

@holyjak
Copy link
Contributor

holyjak commented Mar 15, 2022

I'm thinking whether it wouldn't make more sense to make the code snippets into actual apps people can run, eg via Workspaces, eh in the https://github.com/fulcro-community/FulcroDemos repo... What do you think?

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