arqex / arqex/react-tiles

Possible incompatibility with latest React version 0.15 , etc -- Alot of null errors

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
51
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have a very simple app - its just a skeleton app at this point.

I'm using the latest React-Router and React (0.15) (latest as of the date of this post), and I'm attempting to integrate react-tiles exactly the same way as the react-tiles homepage itself (app.js sample).

However, I'm getting alot of null fails in parts of react-tile js --
such as:

TileLink.js:65 Uncaught TypeError: Cannot read property 'setTile' of undefinedgetUrl @ TileLink.js:65render @ TileLink.js:36(anonymous function) @

etc.

I think react-tiles is failing because I'm using react 0.15 whereas react-tiles was developed with 0.14. I'm literally using pretty much the same code as the sample code for app.js.

Hope to see react-tiles updated to latest compatibilities, it's a great looking component.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the app.js integration sample and the failing path in TileLink.js, especially line 65 where setTile is accessed. Reproduce the reported null errors using React 0.15 and the latest React Router, then compare the behavior with the React 0.14 setup. Done means the sample skeleton app works without these null failures on the newer React version.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.