The Wayback Machine - http://web.archive.org/web/20200614102814/https://github.com/topics/state
Skip to content
#

state

Here are 818 public repositories matching this topic...

videni
videni commented Sep 29, 2019

what is prefer way to add relation and remove relation? I found example as below, but I did't find any document about the two methods.

 case 'ADD_AUTHOR_TO_BOOK':
        Book.withId(action.payload.bookId).authors.add(action.payload.author);  // add new entity ,  add relation?  this doesn't work.
        break;
    case 'REMOVE_AUTHOR_FROM_BOOK':
        Book.withId(action.payload.bo
final-form
ismay
ismay commented Jul 31, 2019

Are you submitting a bug report or a feature request?

Neither, reporting missing documentation

What is the current behavior?

Detailed documentation on the signature of mutator functions is missing.

What is the expected behavior?

I'd expect the docs on mutators to be more elaborate on both the definition and the usage of mutators. I've looked at the docs for react

PierreCapo
PierreCapo commented Apr 8, 2020

The documentation explains pretty well why:

Wrap ALL of your components with view - including class and function ones - even if they don't seem to directly use a store.

I think it's pretty easy to miss adding this view hoc when you write hundred of components. My question is: Is there an eslint rule which exists to warn you that you forgot to add this extra view?

It could be nice to

aweary
aweary commented May 5, 2017

The idea of deferring state management to freactal is solid but as far as I can tell, users will still need to use class components if they want to trigger effects in lifecycle methods, and the README seems to imply that you can always use SFCs because freactal is orchestrating state, but that feels slightly misleading since React provides more than just state management APIs

Maybe add an e

rkpatel33
rkpatel33 commented Aug 29, 2018

I have a computed resource called a support ticket that consists of a profile and a list of messages that belong to that profile, as below. When I search on "Tom how are you" I would want to come up with this ticket (found hits in profile.first_name and message[0].text).

{ 
  "id": 45,
  "profile": {
    "id": 45,
    "first_name": "Tom",
    "last_name": "Brown",
  },
  "
themenow
themenow commented Apr 20, 2017

Tested in Chrome, Firefox and IE, when a page has content added dynamically on scrolling, the sticky element changes its stuck point, that to say if the element is supposed to stuck when it reaches top, it won't happen until you keep scrolling down at a certain distance which the distance is height of the dynamically added content.

Please fix this issue, thanks!

hadirsa
hadirsa commented May 16, 2018

I'm submitting a ...

[ * ] Documentation issue or request

Current behavior
I have added a new language to the languages list. Change in language's combo is Ok and works. The problem is that i want to set a new language as default.
I did this in config.local.json but default language is not set on application start. Is there another changes that i should make to hav

countries-states-cities-database

🌍World countries, states/regions, cities in JSON, SQL, XML, PLIST, YAML and CSV. All Countries, Cities, States with ISO2, ISO3, Country Code, Phone Code, Capital and Currency [Linked with Each Other By ID] [Countries-States-Cities-Database]

  • Updated May 24, 2020
  • TSQL

Improve this page

Add a description, image, and links to the state topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the state topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.