Skip to content

Namespace #1

Open
Open

Description

@cknitt

Wouldn't it be better to set the namespace in bsconfig.json instead of prefixing the file names?

(The web view component itself would then be available as ReactNativeWebView.WebView.)

Activity

  1. sgny commented on Sep 21, 2019

    @sgny
    Collaborator

    I wasn't too happy about the naming, but that has been what we have settled on.

    Now that we have been moving bindings to their own repos, I've been thinking of moving the old WebView bindings to their own repo, so that we can remove them from the RN bindings without issue and yet allow people to remain on older versions of RN.

    With such a move, I would prefer that the components be named WebView instead (and likewise for NetInfo, Slider etc).

  2. ryyppy commented on May 15, 2021

    @ryyppy

    Kinda related: Due to a quite extensive upgrade from BS v7 + reason-react-native 0.61 and reason-react, I had to vendor most of the dependent reason-react-native libraries to even be able to upgrade properly.

    Turned out, the ReactNativeWebview module is a 400 lines module, which could easily distributed as a single file.

    Wouldn't this be a better option?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions