Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

React cross-origin error when using InterApplicationBus hook #29

@darrenfurr

Description

@darrenfurr

During development, I found that if you do not use the correct Identity (I was just using a string) you will receive a cross-origin error in react development mode.

Example:
Inside my component:

const { data, isSubscribed } = useInterApplicationBusSubscribe("test-identity", "test-topic");

Then when I launch the app (see attached). Interestingly enough, when I converted the hook to use the v1 api (window.fin.desktop.) the cross origin error went away (course the Identity was wrong so it didn't work anyway).

Just thought I would pass this along.
-Darren
Screen Shot 2019-10-28 at 2 22 30 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions