react-ape icon indicating copy to clipboard operation
react-ape copied to clipboard

Docs: Create a boilerplate for start with React Ape

Open raphamorim opened this issue 5 years ago • 7 comments

Create a boilerplate project to start with React Ape. It should be quite simple, just one component and "live reload" working. I'm open to ideas to start the project, but I really don't to add a CLI for it. It can be a script on gh (ex: sh https://github.com/raphamorim/react-ape/raw/scripts/start.sh) that can clone and install the dependencies.

raphamorim avatar Oct 25 '19 04:10 raphamorim

Hi @raphamorim I'm open to help with this issue, this project seems interesting!

hayanisaid avatar May 24 '22 23:05 hayanisaid

Hey @hayanisaid thanks for the reply, the boilerplate is already in development process (https://github.com/raphamorim/react-ape/tree/main/packages/app) but there's two things that you could help on it, if you want to.

  • [ ] Need to find a way to clone this folder only (or the entire repo using git shallow clone) and document the way to do it in the Docs folder as well
  • [ ] Integrate a navigation API to the app folder (react-router or anything like that)

raphamorim avatar May 25 '22 05:05 raphamorim

OK great, I can jump in and help with that

hayanisaid avatar May 25 '22 18:05 hayanisaid

@hayanisaid just a FYI: I am moving the app that I've commented above to outside of the react-ape repo. My goal now is to have around 6 different apps (with different features) to demo the renderer. First one is https://github.com/raphamorim/react-ape-photo-gallery , feel free to add the router changes in the react-ape or https://github.com/raphamorim/react-ape-photo-gallery . Both will work. (Related #115)

raphamorim avatar May 27 '22 09:05 raphamorim

@raphamorim I'm still trying to figure out the Navigation thing, react-router is not compatible with react-ape since they both use different DOMs, and react-router component don't render on the screen!

hayanisaid avatar May 31 '22 10:05 hayanisaid

Yup, maybe you would like to try something like https://reactnavigation.org/docs/getting-started (before this used to be more agnostic now I guess it's dependent of react-native). Wonder if would be better to write a logic as a module to React Ape since will be quite important have it fixed.

raphamorim avatar May 31 '22 10:05 raphamorim

@raphamorim I can't work on navigation module right now, I'm still learning about the library, but I can work on improving the documentations and create examples. also I can take a look #117 and #118

hayanisaid avatar Jun 11 '22 01:06 hayanisaid