DelveFore / ignite-hydrogen

[Coming Soon...] | Ignite your creative idea with Hydrogen and start off with a BANG. Hydrogen builds a framework with tools and services that does the redundant work for you.
MIT License
0 stars 0 forks source link

Template Screen Frame #31

Closed JonnoKiwi closed 4 years ago

JonnoKiwi commented 4 years ago

closes https://github.com/DelveFore/ignite-hydrogen/issues/30

generated screen utilizes createScreen from /apps/screen/createScreen.ts generated screen is exported from/app/screensindes.ts`

Steps to reproduce

do these tests with a default Hydrogen boilerplate:

✔ Would you like to use Expo on this project?

        Why Expo? Expo (https://expo.io) is the fastest way to get started.
        However, Expo support is experimental at this time. If unsure, select No and we'll install the traditional route.
        Additionally, using Expo means you won't be able to add any custom native modules.

       (y/N) · true

  We'll initiate your app using Expo. Please note that you won't be able
  to use native modules unless you "eject".

  More info here: https://docs.expo.io/versions/latest/expokit/eject/

✔ What State Machine do you want to use · SagaSauce
✔ What UI Component Library do you want to use · NativeBase
✔ Would you like to eject NativeBase Theme? (y/N) · true
  1. run ignite generate screen New
  2. change in welcome-screen:
    const nextScreen = async () => {
    navigation.navigate('newScreen')
    }
  3. Launch the project, and click "Continue" from the Welcome Screen

image

You should see this:

image

todo[bot] commented 4 years ago

Support NativeBase alternative

https://github.com/DelveFore/ignite-hydrogen/blob/815e991683e9748618c340338def82a80d57d5ac/boilerplate/app/screens/createScreen.ts#L2-L5


This comment was generated by todo based on a TODO comment in 815e991683e9748618c340338def82a80d57d5ac in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Support Redux React Hooks (https://thoughtbot.com/blog/using-redux-with-react-hooks)

https://github.com/DelveFore/ignite-hydrogen/blob/815e991683e9748618c340338def82a80d57d5ac/templates/screen.ejs#L18-L23


This comment was generated by todo based on a TODO comment in 815e991683e9748618c340338def82a80d57d5ac in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Support Redux React Hooks (https://thoughtbot.com/blog/using-redux-with-react-hooks) -%>

https://github.com/DelveFore/ignite-hydrogen/blob/ab0168f48f9535116a40abac934edf2f9f664c79/templates/screen.ejs#L17-L22


This comment was generated by todo based on a TODO comment in ab0168f48f9535116a40abac934edf2f9f664c79 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

note about Redux', async () => {

https://github.com/DelveFore/ignite-hydrogen/blob/ab0168f48f9535116a40abac934edf2f9f664c79/test/src/commands/screen.test.ts#L145-L150


This comment was generated by todo based on a TODO comment in ab0168f48f9535116a40abac934edf2f9f664c79 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Support Redux React Hooks')

https://github.com/DelveFore/ignite-hydrogen/blob/ab0168f48f9535116a40abac934edf2f9f664c79/test/src/commands/screen.test.ts#L165-L168


This comment was generated by todo based on a TODO comment in ab0168f48f9535116a40abac934edf2f9f664c79 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Offer a clear "main" / default theme selection

https://github.com/DelveFore/ignite-hydrogen/blob/02708322bb7c38db1e1b972eca6c9f277dfa06e2/boilerplate/app/theming/StyleProvider.js#L4-L9


This comment was generated by todo based on a TODO comment in 02708322bb7c38db1e1b972eca6c9f277dfa06e2 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Support Redux React Hooks (https://thoughtbot.com/blog/using-redux-with-react-hooks) -%>

https://github.com/DelveFore/ignite-hydrogen/blob/02708322bb7c38db1e1b972eca6c9f277dfa06e2/templates/screen.ejs#L17-L22


This comment was generated by todo based on a TODO comment in 02708322bb7c38db1e1b972eca6c9f277dfa06e2 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

note about Redux", async () => {

https://github.com/DelveFore/ignite-hydrogen/blob/02708322bb7c38db1e1b972eca6c9f277dfa06e2/test/src/commands/screen.test.ts#L145-L150


This comment was generated by todo based on a TODO comment in 02708322bb7c38db1e1b972eca6c9f277dfa06e2 in #31. cc @DelveFore.
todo[bot] commented 4 years ago

Support Redux React Hooks")

https://github.com/DelveFore/ignite-hydrogen/blob/02708322bb7c38db1e1b972eca6c9f277dfa06e2/test/src/commands/screen.test.ts#L165-L168


This comment was generated by todo based on a TODO comment in 02708322bb7c38db1e1b972eca6c9f277dfa06e2 in #31. cc @DelveFore.