react/fixtures/attribute-behavior
Sebastian Markbåge c8d4eeda5f
Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209)
The `start` convention is a CRA convention but nobody else of the modern
frameworks / tools use this convention for a file watcher and dev mode.
Instead the common convention is `dev`. Instead `start` is for running a
production build that's already been built.

---------

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2023-02-21 14:18:21 -05:00
..
public Remove UMD builds from fixture directory (#10547) 2017-08-25 17:17:31 -07:00
src Fix and update attribute-behavior fixture (#26114) 2023-02-10 19:19:26 +01:00
.gitignore Update attribute-behavior fixture (#22522) 2021-11-25 01:37:09 +00:00
AttributeTableSnapshot.md Fix and update attribute-behavior fixture (#26114) 2023-02-10 19:19:26 +01:00
README.md Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
package.json Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
yarn.lock Bump qs from 6.4.0 to 6.4.1 in /fixtures/attribute-behavior (#25820) 2022-12-06 11:51:09 -05:00

README.md

Attribute Behavior Fixture

WIP: This is an MVP, still needs polish.

Known Issues

  • There are currently two errors thrown when the page loads; SyntaxError: missing ; before statement

Instructions

yarn build --type=UMD_DEV react/index,react-dom && cd fixtures/attribute-behavior && yarn install && yarn dev

Interpretation

Each row is an attribute which could be set on some DOM component. Some of them are invalid or mis-capitalized or mixed up versions of real ones. Each column is a value which can be passed to that attribute. Every cell has a box on the left and a box on the right. The left box shows the property (or attribute) assigned by the latest stable release of React, and the right box shows the property (or attribute) assigned by the locally built version of React.

Right now, we use a purple outline to call out cases where the assigned property (or attribute) has changed between React 15 and 16.


This project was bootstrapped with Create React App.

You can find the guide for how to do things in a CRA here.