mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
* refactor: use refs to hold editor and monaco Also removed a lot of unnecessary conditionals * refactor: get a ref to the editor directly Previously we got a ref to react-monaco-editor, but that's an unnecessary layer of abstraction * fix: replace data state with ref * fix: replace remaining useStates with useRefs * refactor: simplify dataRef access * fix: store correct id for output zone * refactor: remove unused parts of MultifileEditor * fix: use separate models per fileKey Temp fix, I think the data should store one version per fileKey * fix: create data for each editor * refactor: declare data once * fix: handle widgets etc. like other data * fix: store an editor per fileKey * refactor: clean up types + initial properties * refactor: remove redundant constructor * fix: remove redundant comment * refactor: update comments |
||
|---|---|---|
| .. | ||
| i18n | ||
| plugins | ||
| src | ||
| static | ||
| utils | ||
| .babelrc.js | ||
| .gitignore | ||
| gatsby-browser.js | ||
| gatsby-config.js | ||
| gatsby-node.js | ||
| gatsby-ssr.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tsconfig.json | ||
| webpack-workers.js | ||