R
R
Roman Rakzin2020-04-25 23:39:39
React Native
Roman Rakzin, 2020-04-25 23:39:39

How to launch Screen with a parameter in React Nativ Drawer?

There is a Drawer menu and I need to not just launch a certain Screen, but pass a parameter.
In fact, the same screen will be loaded, and I will transfer the category, then the data will be loaded and this data will be drawn on the same screen.
In fact, these are buttons in the Drawer of the

Politics
Economy type
Something else
And everyone loads the same screen, but with its own parameter.

How to implement this? (I am using expo Drawer Navigation)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question