This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error - ./node_modules/next/dist/client/next-dev.js | |
Error: Cannot find module 'core-js/modules/es6.regexp.to-string' | |
Require stack: | |
- C:\Users\p\Documents\create-next-app tests\with-linaria-test\node_modules\lina | |
ria\lib\loader.js | |
- C:\Users\p\Documents\create-next-app tests\with-linaria-test\node_modules\lina | |
ria\loader.js | |
- C:\Users\p\Documents\create-next-app tests\with-linaria-test\node_modules\load | |
er-runner\lib\loadLoader.js | |
- C:\Users\p\Documents\create-next-app tests\with-linaria-test\node_modules\load |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euxo pipefail | |
npm install | |
npm run build | |
export CHROME_PATH=$(which google-chrome-stable) | |
export LHCI_BUILD_CONTEXT__EXTERNAL_BUILD_URL="$BUILD_URL" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Message { | |
ChangeColor(u8, u8, u8), | |
Echo(String), | |
Move {x: u8, y: u8}, | |
Quit, | |
} | |
struct Point { | |
x: u8, | |
y: u8, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// only works on react 18 | |
import { useSyncExternalStore } from "react"; | |
export const useColorScheme = () => { | |
const scheme = useSyncExternalStore( | |
subscribe, | |
getSnapshot, | |
getServerSnapshot | |
); |
OlderNewer