Skip to content

Have a main components folder and separate ui components vs server-side components. #9

Description

@ashesh808

Have a components folder where ui/kanban.tsx would be the UI component and server/login.jinja would be the server side component. This would allow for more flexibility when picking building a page. Having a page_builder for each view such that:

def get():
  pb = PageBuilder()
  pb.add_layout(base.jinja) //This would not accept tsx components
  pb.add_server_component(user_info.jinja)
  pb.add_ui_component(editor.tsx)
  page = pb.build() => returns html with necessary wiring of the ui mounts
  render(page) 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions