Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js
.
Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js
.
Application.load(:instafoto) | |
for app <- Application.spec(:instafoto, :applications) do | |
Application.ensure_all_started(app) | |
end | |
ExUnit.configure(exclude: [skip: true], timeout: 60_000_000) | |
ExUnit.start | |
Ecto.Adapters.SQL.Sandbox.mode(Instafoto.Repo, :manual) |
defmodule Example do | |
defp plug_address_chunk(addr, nil), do: addr | |
defp plug_address_chunk(addr, key), when String.length(addr) > 0 and String.length(key) > 0 do: addr <> ", " <> city | |
defp plug_address_chunk(addr, key), do: addr <> city | |
def get_address() do | |
street = … | |
city = … | |
state = … | |
zip = … |
defmodule Auth.Plug do | |
@moduledoc """ | |
Absinthe authentication plug | |
""" | |
use Phauxth.Authenticate.Base | |
@doc """ | |
Sets current user variable | |
""" |
По ссылке ниже можно найти эксель таблицу личного финансового плана. Ваша задача перенести первую вкладку (финансовые цели) в веб приложение. UI создается по своему вкусу, все элементы логики должны быть на одном скрине (странице).
Стек: Elixir, GraphQL, React. Все остальные билблиотеки по вашему усмотрению
Решение опубликовать на гитхабе с инструкцией по запуску
Задача минимум:
// @flow | |
import React from 'react' | |
import moment from 'moment' | |
import capitalize from '@/utils/capitalize' | |
import type { Event } from '@/modules/types/event' | |
type Props = { | |
event: Event, | |
} |
// @flow | |
import React from 'react' | |
import { identity } from 'ramda' | |
import { Query } from 'react-apollo' | |
import { createSelector } from 'reselect' | |
import RecentEvent from '@/pages/photographerDashboard/app/recentEvents/RecentEvent' | |
import meQuery from '@/modules/query/me' | |
import Loader from '@/components/Loader' | |
import pathOrDefaultValue from '@/utils/pathOrDefaultValue' | |
import type { Event } from '@/modules/types/event' |
import React from 'react' | |
import { graphql } from 'react-apollo' | |
import gql from 'graphql-tag' | |
import { pipe, prop } from 'ramda' | |
type FileInputProps = { | |
label: string, | |
onChange: Function, | |
required: boolean, | |
dataCy: string, |
import React from 'react' | |
import { storiesOf, action } from '@storybook/react' | |
import Component from '../../../src/components/MunicipalitySelect/index' | |
import Provider from '../../../src/test/MockedApolloProvider' | |
const defaultValue = { | |
id: 'TG9jYXRpb246MzA=', | |
name: 'Vestby', | |
slug: 'vestby_akershus_municipality', | |
__typename: 'Location', |
defmodule Spread.Pulser.Worker do | |
@moduledoc """ | |
This module manages the flow of opportunities and trades | |
""" | |
use GenServer | |
alias Spread.Pulser.Logic, as: PulserLogic | |
alias Spread.TradingPair.Manager | |
## Client API |