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

Feature/3 create react version #11

Conversation

wesleyboar-fka-iosulfur
Copy link
Collaborator

@wesleyboar-fka-iosulfur wesleyboar-fka-iosulfur commented Oct 9, 2019

React and native builds are working, but the changes marry React and the build process. This will be quickly resolved by issue #9 (which is re-opened specifically for this purpose).

Wesley B added 30 commits September 26, 2019 15:51
TODO:
- Let React manage the `init` logic of `scripts/card.js`
- Export logic of `scripts/card.js` for React (and other libraries)
The branch ``feature/3…` was created from an out-of-date `master`.
- Extract `react/element-input` component.
- Extract `react/attribute-input` component.
- Add `entity-elements` constants.
- Convert HTML attribute to JSX attributes.
- Add TODO comments in `react/card` component.
- Pass default values to `react/card` component as props.
…r/wesleyb-sample-wysiwyg-rpg-card-maker into feature/3-create-react-version
Also:
- Rename `event` to `e`.
- Fix default value typo.
- Rename `Toggle` props to match `…Input`s.
- Uncomment commented code in `scripts/card.js`.
- Do not call `scripts/card.js` in React code.
- from `onIsActiveChange` to `onChange`
- from `isActive` to `isOn`
This is redundant, but allows finding `TODO.md` when searching `TODO`
- Wrap dev scripts in container div.
- Rename `typedef.jsdoc` to `typedef.js`.
- Rename "attribute" properties to "attributes".
- Rename `form` to `shape` in JSDoc `@typedef`.
- Resolve expected temporary ESLint errors.
- Make `value` optional for `select`s and numeric inputs.
- Make optional the `Card` properties.
- Add `placeholder` for `select`s.
- Add more TODOs.
- Also, fixed JSDoc typos and moved some lines.
Wesley B added 26 commits September 30, 2019 18:29
Found no online mention; all assume that `(default)Value` should be set.
Any element using internal `onChange` must support external `onChange`
@wesleyboar-fka-iosulfur
Copy link
Collaborator Author

I back-merged and resolved conflicts. Merging, now. Then will very soon open PR to unmarry React from build process (issue #9).

@wesleyboar-fka-iosulfur wesleyboar-fka-iosulfur merged commit f803683 into epic/1-compare-component-libraries Oct 9, 2019
@wesleyboar-fka-iosulfur
Copy link
Collaborator Author

Do not delete this #3 feature branch, yet. Some enhancement To Do's still exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant