Skip to content

Commit 88d2003

Browse files
authored
Merge pull request sudheerj#8 from yashwanth2804/master
fixed typo error @q 272
2 parents 0fb9f82 + 58976af commit 88d2003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4547,7 +4547,7 @@
45474547
In React, it is recommend using composition instead of inheritance to reuse code between components. Both Props and composition give you all the flexibility you need to customize a component’s look and behavior in an explicit and safe way.
45484548
Whereas, If you want to reuse non-UI functionality between components, it is suggested to extracting it into a separate JavaScript module. Later components import it and use that function, object, or a class, without extending it.
45494549
272. ### Can I use web components in react application?
4550-
Yes, you can user web components in a react application. Even though many developers won't use this combination, it may require especially if you are using third-party UI components that are written using Web Components. For example, let us use Vaadin date picker web component as below,
4550+
Yes, you can use web components in a react application. Even though many developers won't use this combination, it may require especially if you are using third-party UI components that are written using Web Components. For example, let us use Vaadin date picker web component as below,
45514551
```javascript
45524552
import React, { Component } from 'react';
45534553
import './App.css';
@@ -4998,4 +4998,4 @@
49984998
7. Dropbox
49994999
8. Flipboard
50005000
9. Netflix
5001-
10. PayPal
5001+
10. PayPal

0 commit comments

Comments
 (0)