From 749959d24fd73a532d02e1f190772d5ebfed3c95 Mon Sep 17 00:00:00 2001 From: Vinicius Ataide Date: Thu, 26 Mar 2020 17:01:49 -0300 Subject: [PATCH 1/2] comment for noobs this comment should help noobs in Reason that doesn't understand fully the module system yet. --- src/Example.re | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Example.re b/src/Example.re index e6ec35ef..3bd0c35d 100644 --- a/src/Example.re +++ b/src/Example.re @@ -1,3 +1,5 @@ +// In your code you should use open ReactNavigation; to expose Stack.Make + module HomeScreen = { open ReactNative; [@react.component] From a778327eebdf0fc2cf6dc894ff4bb09e4e698e42 Mon Sep 17 00:00:00 2001 From: Max Thirouin Date: Thu, 26 Mar 2020 21:57:17 +0100 Subject: [PATCH 2/2] Update src/Example.re --- src/Example.re | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Example.re b/src/Example.re index 3bd0c35d..853bc35e 100644 --- a/src/Example.re +++ b/src/Example.re @@ -1,5 +1,6 @@ -// In your code you should use open ReactNavigation; to expose Stack.Make - +// Uncomment this to compile this example outside of this repo +// in this example it's not necessary (since we are running it in the module repo itself) +open ReactNavigation; module HomeScreen = { open ReactNative; [@react.component]