mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
b6c01f7f78
It was never clear to me what the difference between Wipe and Reset was. Let's just get rid of one and reset to something more useful instead of fibonacci. ghstack-source-id: 4f88a1c1da2d0fd9e1f26e4859c12db0fc961af2 Pull Request resolved: https://github.com/facebook/react-forget/pull/2837
23 lines
432 B
TypeScript
23 lines
432 B
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
import type { Store } from "./stores";
|
|
|
|
const index = `\
|
|
export default function MyApp() {
|
|
return <div>Hello World</div>;
|
|
}
|
|
`;
|
|
|
|
export const defaultStore: Store = {
|
|
source: index,
|
|
};
|
|
|
|
export const emptyStore: Store = {
|
|
source: "",
|
|
};
|