Skip to content

Commit bd02d25

Browse files
authored
Make div in README visible for markdown viewer
1 parent e4b1c60 commit bd02d25

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
@@ -4135,7 +4135,7 @@
41354135
The render() method is the only required method in a class component. i.e, All methods other than render method are optional for a class component.
41364136
239. ### What are the possible return types of render method?
41374137
Below are the list of following types used and return from render method,
4138-
1. **React elements:** Elements that instruct React to render a DOM node. It includes html elements such as <div/> and user defined elements.
4138+
1. **React elements:** Elements that instruct React to render a DOM node. It includes html elements such as `<div/>` and user defined elements.
41394139
2. **Arrays and fragments:** Return multiple elements to render as Arrays and Fragments to wrap multiple elements
41404140
3. **Portals:** Render children into a different DOM subtree.
41414141
4. **String and numbers:** Render both Strings and Numbers as text nodes in the DOM
@@ -5026,4 +5026,4 @@
50265026
9. Netflix
50275027
10. PayPal
50285028
301. ### Is it recommended to use CSS In JS technique in React?
5029-
React does not have any opinion about how styles are defined but if you are a beginner then good starting point is to define your styles in a separate *.css file as usual and refer to them using className. This functionality is not part of React but came from third-party libraries. But If you want to try a different approach(CSS-In-JS) then styled-components library is a good option.
5029+
React does not have any opinion about how styles are defined but if you are a beginner then good starting point is to define your styles in a separate *.css file as usual and refer to them using className. This functionality is not part of React but came from third-party libraries. But If you want to try a different approach(CSS-In-JS) then styled-components library is a good option.

0 commit comments

Comments
 (0)