Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[feature] generate server-side client #92

@rchl

Description

@rchl

I haven't used this project yet but as a concept it is very interesting. I'm thinking that it could be used in frameworks like Nuxt which handle both server and client-side rendering.

From the documentation it appears that when using Phero it will always make a HTTP request to the server so my suggestion is to also generate a server-side client that could be used to call the API functions directly. That way, in frameworks like Nuxt, if the page is loaded on the server side, a server-to-server HTTP request could be avoided and instead the API function would be called directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions