Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An Introduction to reactjs-boilerplate roadmap #27

Merged
merged 5 commits into from
Apr 28, 2022
Merged

Conversation

jinmayamashita
Copy link
Collaborator

@jinmayamashita jinmayamashita commented Mar 10, 2022

Let's talk about our Roadmap in this PR. (as mentioned here)
Are there any required or unnecessary items in the Roadmap?
https://github.com/monstar-lab-oss/reactjs-boilerplate/pull/27/files

@mvn-luanvu-hn @yannde @mvn-binhnguyen-hn @don-wang
FYI @n-igarashi @yukinoda

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
- Coding Standards and Guidelines (Statically analyzes our codes)
- [ ] ESLint with our rules
- [ ] Prettier
- Testing framework
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinmayamashita I think we should add end-to-end testing too

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvn-luanvu-hn Indeed. 👍 Do you have any tools you would recommend?

e.g TestCafe, Playwright

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinmayamashita I hear about cypress a lot. Maybe we can consider it.
But currently it does not support Safari
image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinmayamashita @mvn-luanvu-hn
Storybook uses playwright for its interaction testing, so we could experiment with that. I've included a simple test in the vue boilerplate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvn-luanvu-hn @yannde
DONE d0a398e

I have not used Cypress yet and would like to try it out. and we uses Storybook in boilerplate, so I would like to try working with playwright. This looks like another good PR.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinmayamashita I see in our project another team is using this tool
https://codecept.io/basics/#architecture
It can work well with many other tools

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvn-luanvu-hn Nice! This may also work with playwright 👍

Co-authored-by: yannde <yanndc@gmail.com>
- Routing for SPA
- [x] [wouter](https://github.com/molefrog/wouter)
- Validate forms in React
- [x] [React Hook Form](https://react-hook-form.com)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore this comment if it has been discussed already...

How about Formik and Yup? It is common using this combination for forms

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yukinoda
Sorry for the late reply. I adopted react-hook-form for its ability to prevent unnecessary re render, does Formik have the same support? and I think react-hook-form can also do Yup and combination.

const validationSchema = yup.object().shape({
  email: yup.string().required('error message').email('error message'),
  password: yup.string().required('error message').min(6, 'error message')
})

const { register, setValue, handleSubmit, errors } = useForm({ validationSchema })

README.md Show resolved Hide resolved
Copy link
Contributor

@yukinoda yukinoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments...
And, let's include create CONTRIBUTING.md and setup LICENSE to the roadmap as it would be an OSS 😎

jinmayamashita and others added 3 commits March 18, 2022 18:06
Co-authored-by: Yuki Noda <16083322+yukinoda@users.noreply.github.com>

Our roadmap for the ReactJS Boilerplate is where you can learn about what features we're working on.

### Development environment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinmayamashita I think we can split folders into modules like the admin template

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvn-luanvu-hn It seems like a good thing to consider. Let's keep discussing the folder structure!

Copy link
Collaborator

@yannde yannde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jinmayamashita
Copy link
Collaborator Author

jinmayamashita commented Apr 28, 2022

@yannde @mvn-luanvu-hn @mvn-binhnguyen-hn
FYI @n-igarashi
It has been approved, but we're not quite ready for until the merge? 🤔

@jinmayamashita jinmayamashita self-assigned this Apr 28, 2022
@jinmayamashita jinmayamashita added the documentation Improvements or additions to documentation label Apr 28, 2022
@mvn-luanvu-hn mvn-luanvu-hn merged commit bf88665 into main Apr 28, 2022
@mvn-luanvu-hn mvn-luanvu-hn deleted the docs/add-roadmap branch April 28, 2022 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants