@equinor/mad-screens #135
tormodAase
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
I guess mad-screens would need mad-components as a dependency, so I think mad-utilities should be the second dependency of mad-screens where the logic not related to rendering is located. Demo mode, authentication, API calls, state handling of user configurations, are all examples of non-rendering functionality that is commonly used by both mad-expo-core screens and app-specific ones. I think mad-screens should be as purely JSX as possible and simply provide the boilerplate screens for our apps the way we use them today. This is just the opinion of a newbie |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I wanted to start a thread for discussing mad-screens.
As you all know, we have a goal of getting rid of
mad-expo-core
, and replacing it with smaller packages. One of the most important features ofmad-expo-core
is it's screens (login, onboarding, feedback, settings, etc.), and in our current discussions around the office, we wanted to extract those screens into a package calledmad-screens
. I personally had a goal of creating some kind ofmad-navigation
instead, but I don't think that will be a great solution now thatexpo-router
is on the rise. My plan formad-navigation
wouldn't work in a file-based routing system.So assuming we create a
mad-screens
package, do you have any suggestions for what to put into that package?Here are some things I've been thinking about:
authenticateSilently
frommad-screens
?mad-screens
be in charge of keeping the 'state' of demo mode?mad-screens
be in charge of keeping the 'state' of selected language?Please comment if you have any comments regarding the above questions, or if you have any other ideas for this package!
Beta Was this translation helpful? Give feedback.
All reactions