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
import 'package:collection/collection.dart'; | |
import 'package:grinder/grinder.dart'; | |
void main(List<String> args) => grind(args); | |
@Task('Open Upgraded Package Changelog') | |
void openUpgradedPackageChangelog() { | |
_openUpgradedPackageChangelog( | |
[ | |
'.', |
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
// firebase authを使って、ログインユーザーが変わった時に何か取得する | |
export const Sample1: VFC = () => { | |
const [authState, setAuthState] = useState() | |
useEffect(() => { | |
if (!process.browser) return | |
let cancel = false | |
const unsubscribe = auth.onAuthStateChanged( | |
async firebaseUser => { |
OlderNewer