Skip to content

Commit daa7f37

Browse files
committed
Chore: Update readme
1 parent 485fe52 commit daa7f37

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ const breakpoints = {
5151
};
5252
```
5353

54-
> Tip: Each key in this object will become a prop on your components--watch out for naming conflicts!
55-
5654
The values that you provide are the "maximum pixel-widths" for that screen class. In order to make sure that all possible screen pixel-sizes are handled, there should be exactly one screen class with a value of `Infinity` which tells us that there is no maximum pixel-width for that screen class.
5755

5856
### 2. Generate your custom Responsive System with `createResponsiveSystem`
@@ -95,8 +93,6 @@ ReactDOM.render(
9593

9694
### 4. Make your components responsive
9795

98-
#### a. `useResponsiveValue`
99-
10096
Now that the app is aware of the current screen class, we can declare values that dynamically change to fit any screen!
10197

10298
```js
@@ -221,7 +217,7 @@ Fundamentally, we need our components to be aware of the current screen class so
221217

222218
## Changelog
223219

224-
Responsive System uses strict Semantic Versioning which means that our version numbers carry extra meaning. Then general form is:
220+
Responsive System uses strict Semantic Versioning which means that our version numbers carry extra meaning. The general form is:
225221

226222
`v{major}.{minor}.{patch}`
227223

@@ -245,7 +241,7 @@ The reason that we haven't moved to 1.0 yet is that the API just hasn't felt qui
245241

246242
So what changed?
247243

248-
In 0.9 we moved away from the HOC `responsive(Component)` approach and adopted a streamlined hook-based approach. The hook-based approach is much smaller (in terms of bytes) and much lighter in the sense that we no longer modify your components "magically". Fundamentally, we've shifted from wrapping entire components to make them responsive to wrapping individual values/variables.
244+
In 0.9 we moved away from the HOC `responsive(Component)` approach and adopted a streamlined hook-based approach. The hook-based approach is much smaller (in terms of bytes) and much lighter in the sense that we no longer modify your components "magically". Fundamentally, we've shifted from wrapping entire components to wrapping individual values/variables.
249245

250246
```js
251247
// 0.8.X

0 commit comments

Comments
 (0)