Um parágrafo da descrição do projeto vai aqui
Essas instruções permitirão que você obtenha uma cópia do projeto em operação na sua máquina local para fins de desenvolvimento e teste.
Consulte Implantação para saber como implantar o projeto.
| [core] | |
| editor = code --wait | |
| ignorecase = false | |
| [merge] | |
| tool = vscode | |
| [mergetool "vscode"] | |
| cmd = code --wait $MERGED | |
| [diff] | |
| tool = vscode | |
| [difftool "vscode"] |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # export NODE_OPTIONS=--openssl-legacy-provider | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Path to Java | |
| export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home |
| { | |
| "editor.fontFamily": "JetBrainsMono Nerd Font", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 26, | |
| "editor.semanticHighlighting.enabled": false, | |
| "files.trimTrailingWhitespace": true, | |
| "terminal.integrated.defaultProfile.osx": "zsh", | |
| "terminal.integrated.fontSize": 14, |
| { | |
| "editor.fontFamily": "JetBrains Mono", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 26, | |
| "editor.semanticHighlighting.enabled": false, | |
| "workbench.colorTheme": "Omni", | |
| "workbench.iconTheme": "material-icon-theme", | |
| "workbench.startupEditor": "newUntitledFile", |
| import { useReducer } from 'react'; | |
| const initialState = { | |
| counter: 0, | |
| }; | |
| const reducer = (state, action) => { | |
| switch (action.type) { | |
| case 'INCREMENTAR': | |
| return { |
| function handleTaskSelected(id) { | |
| setTodoList( | |
| todoList.map(todo => ({ | |
| ...todo, | |
| checked: todo.id === id ? !todo.checked : todo.checked, | |
| }) | |
| ); | |
| } | |
| <input type="checkbox" onChange={() => handleTaskSelected(todo.id)} className={`${todo.checked && 'checked'}`} /> |
| export default function Form() { | |
| const [todoList, setTodoList] = useState([]); | |
| const [todo, setTodo] = useState(''); | |
| useEffect(() => { | |
| const formattedTodoList = JSON.stringify(todoList); | |
| localStorage.setItem('fiscais:todoList', formattedTodoList); | |
| }, [todoList]); | |
| function handleAddTodo(e) { |
| import { NativeModules } from 'react-native'; | |
| import Reactotron from 'reactotron-react-native'; | |
| if (__DEV__) { | |
| const { scriptURL } = NativeModules.SourceCode; | |
| const scriptHostname = scriptURL.split('://')[1].split(':')[0]; | |
| const tron = Reactotron.configure({ host: scriptHostname }) | |
| .useReactNative() | |
| .connect(); |