GithubHelp home page GithubHelp logo

raulpesilva / re-state Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 1.0 1.93 MB

Home Page: restate.vercel.app

License: MIT License

TypeScript 97.82% JavaScript 2.18%
re-state restate react react-native ios android expo global state context

re-state's Introduction

Olá 👋

Me chamo Raul Pereira, tenho 28 anos, moro em Mauá-SP.

Sou formado em Produção Multimídia - Web Design, Audiovisual & Design Digital pela Faculdade Impacta Tecnologia e em alguns cursos fornecidos pela plataforma de cursos online Alura.

Tranquei a faculdade de Análise e Desenvolvimento de Sistemas na Faculdade de Tecnologia Antonio Russo (FATEC) e Atualmente sou Software Engineer III na XP Investimentos.

 

✨ Curiosidades

  • Gosto de jogar FPS quando sobra tempo
  • Fã de Harry Potter / MCU e Interestelar
  • Entusiasta em tecnologia e curioso desde que me entendo como gente!

 

📚 Skills

               

 

📫 Contatos

Twitter Badge Linkedin Badge

 

⚙️ settings:

My personal settings

visitor badge

re-state's People

Contributors

raulpesilva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

pe-johndpope

re-state's Issues

Build time error

Hi @raulpesilva, how is it going?

I've recently tried to perform a TS build of a web app I'm currently supporting for one of my clients, which was originally using [email protected], and I'm getting the following error:

my/project/root/node_modules/@raulpesilva/re-state/types/react/createReStateMethods.d.ts
TypeScript error in my/project/root/node_modules/@raulpesilva/re-state/types/react/createReStateMethods.d.ts(3,55):
'>' expected.  TS1005

    1 | import { SetReStateAction } from '../core';
    2 | import { DispatchReState } from './types';
  > 3 | declare type useReState<S extends string, V> = Record<`use${Capitalize<S>}`, () => [V, DispatchReState<SetReStateAction<V>>]>;
      |                                                       ^
    4 | declare type useReStateSelect<S extends string, V> = Record<`use${Capitalize<S>}Select`, () => V>;
    5 | declare type dispatchReState<S extends string, V> = Record<`dispatch${Capitalize<S>}`, DispatchReState<SetReStateAction<V>>>;
    6 | declare type getReState<S extends string, V> = Record<`get${Capitalize<S>}`, () => V>;


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried to update to v1.2.32, but the problem still persists.
There's one entry in your changelog, thought, that says that a problem was fixed at createReStateMethods. Could it be related to my problem? 🤔

I cloned the repo and poke around a little bit, but couldn't replicate the problem. Then I decided to open this issue.

Thanks in advance for your support on this matter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.