Below is a summary of the discussion from this week’s JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser.
https://www.javascript.com chat (agenda, Slack Transcript)
Have a topic for discussion for the next meeting? Leave a suggested edit on next week’s agenda.
Component Props Documentation
Question: How can we eliminate human error from components documentation?
Context: @dsifford‘s recent pull requests can sort of speak for themselves so far as demonstrating the current inaccuracies in components documentation. He’s discovered them while working on type definitions added to DefinitelyTyped for @wordpress/* packages and he’s tracking progress on Trello board. If anyone is interested in helping the effort let us know.
Options discussed:
- Improve current JSDoc documentation.
- Add support for
.React.PropTypes - Introduce TypeScript.
Action items:
- Explore type checking JavaScript Files with TypeScript which might require some work to improve JSDoc or at least have exceptions in the short-term.
- Find a way we can automate the documentation for components.
Open Floor
Some of us are traveling to WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They’re one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Europe next week, so we agreed to cancel the meeting planned for next Tuesday and pick up again on June, 25th.