javascript-react-patterns icon indicating copy to clipboard operation
javascript-react-patterns copied to clipboard

Repo related to the FrontendMasters course on JavaScript and React patterns

Results 33 javascript-react-patterns issues
Sort by recently updated
recently updated
newest added

As the title suggests, sometimes the timing of page transitions causes the page to scroll to an unintended position. As shown in the following video, the page will automatically move...

There are some typos in [https://github.com/lydiahallie/javascript-react-patterns/blob/main/pages/patterns/design-patterns/factory-pattern.mdx](https://github.com/lydiahallie/javascript-react-patterns/blob/main/pages/patterns/design-patterns/factory-pattern.mdx) ``` The fullName method is the same for all the objects that were created. By creating new instances, the fullName method is available on...

staticaly → statically

readaibility → readability

Hello! The example of the multiple class instances was broken, this PR will fix it. Have a nice day! Renny.

Hello! Nice Website! :) Reading the documentation, I figured out that the "React.Children.map" example was not correct, so I provided the correct working version of this pattern in this PR....

- Fix some typos - Fix initial file on StackBlitz component to start on js file

Wrong object return Current output get from the pattern ```{ email: undefined, firstName: { email: "[email protected]", firstName: "John", lastName: "Doe" }, lastName: undefined }``` Output should be ```{ email: "[email protected]",...