Skip to content

Commit

Permalink
docs: Minor fix (practive -> practice) (#199)
Browse files Browse the repository at this point in the history
* Minor grammar fix.

* Minor grammar fix.
  • Loading branch information
tylere committed Jul 7, 2023
1 parent d483b87 commit 03b665c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solara/website/pages/api/use_state_or_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@solara.component
def SliderWithoutState(value: int):
# Note that this is very bad practive, if value is an input change and the slider
# Note that this is a very bad practice, if value is an input change and the slider
# can change it, this component should have a on_value callback to allow the parent
# component to manage its state.
# This component is only for demoing/understanding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We consider Solara a superset of Reacton, and that's why the full namespace of t
Therefore, you can write `solara.use_state` or `reacton.use_state`, they are the same function.

The reason for this is simplicity for newcomers, who don't care about the difference between `solara` and `reacton`.
But in practive, it also saves having to import both `solara` and `reacton`.
But in practice, it also saves having to import both `solara` and `reacton`.
Also, when writing Solara based apps, one does not think about Reacton anymore, it is all Solara.

## How do I use Reacton or Solara with ipywidget library X
Expand Down

0 comments on commit 03b665c

Please sign in to comment.