reactpatterns icon indicating copy to clipboard operation
reactpatterns copied to clipboard

Patterns for React Developers

Results 7 reactpatterns issues
Sort by recently updated
recently updated
newest added

Bumps [marked](https://github.com/markedjs/marked) from 0.8.0 to 4.0.10. Release notes Sourced from marked's releases. v4.0.10 4.0.10 (2022-01-13) Bug Fixes security: fix redos vulnerabilities (8f80657) v4.0.9 4.0.9 (2022-01-06) Bug Fixes retain line breaks...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

```js // option 1: extra div return {children} // option 2: unhelpful errors return children ``` I try to return this.props.children directly,and there is no error. I test the version...

![](https://cdn-images-1.medium.com/max/2000/1*J5XOQh2WKIl0NFTAMvcVbQ.png) Source: https://hackernoon.com/10-react-mini-patterns-c1da92f068c5#.x4endocsm

Hello. I believe that reactpatterns.com is missing a design pattern I recently stumbled across here: http://webrafter.com/opensource/react-foundation-apps/tabs It adds static methods to a React component factory/class, that are also React factories...

How about putting the contents part to a sidebar navigation? When the list grows, it will become helpful while reading.

I'd be interested in updating this to reflect the more recent best practices in React using functional components with hooks.