Skip to content

Project Namespace in Docs incorrect #5

@idkjs

Description

@idkjs

In docs you access this project with Apollo.

With current set up in stalled from npm, you would have to alias ReasonReactApollo.Project for it work.

module Apollo = ReasonReactApollo.Project;
let client = Apollo.createClient(~uri="http://http://localhost:50002", ());

[@react.component]
let make = () => {
  <Apollo.Provider client> <Component1 message="Hello! Click this text." /></Apollo.Provider>;
};

Looks promising. Happy to help work out the kinks in docs or whatever if you need the help. Keep up the good work, brother.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions