Skip to content

Forcing view refresh #1049

@finalquest

Description

@finalquest

Hi.
Putting some context first.

I'm using RN as the V in MVC, in an existing app.
I've created a plain UIView class, and then added a subview(RCTRootView) to it.
Then I added this view in mi viewController. So this RCTRootView is now the view of the controller.

Everything works fine. I've made my view layout in JS, and is rendered well.
But now I'm facing some fundamentals issues.

Is this posible to pass data to the RN view? Or force a refresh when the controller need to update some data?. In native is quite simple, as the texts/labels are plain IBOulets. But I dont really know how to do this having the actual view in the JS side.

If anyone can point me in the correct direction will be apreciated.
Thanks in advance.
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions