Skip to content
#

context-api

Here are 1,429 public repositories matching this topic...

rluiten
rluiten commented Jul 31, 2020

I was just trying out react-sweet-state as it looks interesting and created a small to do list app to play with it.

I put an array of Todo objects in an array as the state of the store.
This produces no errors from typescript and even runs without error until you setState new values of the state.

The state of the store being an array is not supported as I later discovered in the react-sweet

stephan-noel
stephan-noel commented Sep 19, 2020

Feature Report

I propose consolidating the specification of breakpoints into a single prop named breakpoints

Motivation

The current specification of breakpoints can be done either by 1) breakpoints and breakpointsMax or 2) mediaQueries. I see the following problems with this approach:

  • The naming of breakpoints and breakpointsMax is asymmetric.
  • The usage of breakpoint

Improve this page

Add a description, image, and links to the context-api 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 context-api topic, visit your repo's landing page and select "manage topics."

Learn more