Skip to content

Commit

Permalink
Note complication in README
Browse files Browse the repository at this point in the history
  • Loading branch information
benchristel committed Dec 3, 2024
1 parent b1f7550 commit 31e1799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/perseus/src/util/parse-perseus-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ purposes.
The `defaultProps` of a widget are used during content editing to initialize
the widget options. They represent our _current version_ of the initial widget
configuration that content creators should see when they add a widget to an
exercise.
exercise. (Actually, the situation is slightly more complicated than this,
because widget editors can have default props as well.)

The defaults in the parsers represent the values that should be used for
_old content_, created before the associated prop was added to the widget.
Expand Down

0 comments on commit 31e1799

Please sign in to comment.